]> git.ipfire.org Git - thirdparty/sarg.git/commit - util.c
Fix several possible sprintf buffer overflows
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Wed, 18 Feb 2015 19:04:14 +0000 (20:04 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Wed, 18 Feb 2015 19:04:14 +0000 (20:04 +0100)
commite080560d3bcf29ce987863c880214344f2748f77
tree27d3c6aaf6c791e3a4da78ab9118524203b07a07
parent58336f20714cf591c2da6e91dee6514f46f2ae57
Fix several possible sprintf buffer overflows

At least one of those sprintf was producing a segfault when a very long
elapsed time was encountered.

Thanks to Ricardo Fregati for reporting this bug and Marc Cesarine for
solving it.

Conflicts:
log.c
include/defs.h
index.c
log.c
useragent.c
util.c