Commit 3aaf74e9 authored by Leigh Stoller's avatar Leigh Stoller

Fix up all of the sprintf calls to watch for output buffer overflow. I

did this with a simple macro called OUTPUT() that does the check and
bails from the current function. This was as boring and tedious as
life gets, but we should be protected from stack smashing now.

Also fixed up a couple cases where we take data from the client;
make sure that the sscanf calls are bounded.
parent 540352cf
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment