2127f26023
for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com> |
||
---|---|---|
.. | ||
fore_aali.h | ||
fore_buffer.c | ||
fore_command.c | ||
fore_globals.c | ||
fore_if.c | ||
fore_include.h | ||
fore_init.c | ||
fore_intr.c | ||
fore_load.c | ||
fore_output.c | ||
fore_receive.c | ||
fore_slave.h | ||
fore_stats.c | ||
fore_stats.h | ||
fore_timer.c | ||
fore_transmit.c | ||
fore_var.h | ||
fore_vcm.c | ||
fore.h |