Willy Tarreau
9e60cd84b7
BUG/MINOR: log: improper NULL return check on utoa_pad()
...
utoa_pad() is directly fed into tmplog, which is checked for NULL.
First, when NULLs are possible, they should be put into a temp variable
in order to preserve tmplog, and second, this return value can never be
NULL because the value passed is tv_usec/1000 (between "0" and "999")
with a 4-char output. However better fix the check in case this code gets
improperly copy-pasted for another usage later.
Reported-by: Dinko Korunic <dkorunic@reflected.net>
2013-01-24 16:19:18 +01:00
..
2013-01-24 16:19:18 +01:00
2012-10-29 16:57:30 +01:00
2012-10-19 19:49:09 +02:00
2012-05-10 23:25:35 +02:00
2012-12-09 10:06:01 +01:00
2010-10-30 19:04:33 +02:00
2012-12-17 01:14:49 +01:00
2013-01-24 16:19:18 +01:00
2012-10-26 01:08:01 +02:00
2013-01-24 16:19:18 +01:00
2012-12-23 21:46:07 +01:00
2012-11-23 11:12:33 +01:00
2012-12-17 01:14:25 +01:00
2012-10-05 22:18:07 +02:00
2013-01-24 16:19:18 +01:00
2013-01-18 15:31:03 +01:00
2012-12-14 00:17:03 +01:00
2012-12-14 00:17:03 +01:00
2012-12-14 00:17:03 +01:00
2012-11-12 01:57:14 +01:00
2012-12-29 21:50:07 +01:00
2012-12-28 09:51:00 +01:00
2013-01-18 10:25:25 +01:00
2011-10-24 18:15:04 +02:00
2012-10-08 20:11:03 +02:00
2010-11-29 07:28:16 +01:00
2012-04-07 09:08:45 +02:00
2009-10-26 21:10:04 +01:00
2009-10-26 21:10:04 +01:00
2010-03-12 06:22:16 +01:00
2012-11-23 20:22:10 +01:00
2013-01-24 16:19:18 +01:00
2012-05-08 21:28:16 +02:00
2012-12-09 15:57:16 +01:00
2011-10-24 17:09:22 +02:00
2013-01-05 16:53:49 +01:00
2012-12-10 17:03:52 +01:00
2012-09-24 10:53:16 +02:00
2012-09-15 22:29:32 +02:00
2012-11-15 00:15:18 +01:00
2012-11-12 00:42:33 +01:00
2013-01-07 16:57:09 +01:00
2007-01-07 02:12:57 +01:00
2010-01-28 18:10:50 +01:00
2012-12-23 21:46:07 +01:00
2012-10-10 17:51:05 +02:00
2012-12-30 00:50:35 +01:00
2008-08-13 23:43:26 +02:00
2012-12-28 14:48:13 +01:00
2013-01-07 11:36:11 +01:00
2012-12-23 21:46:07 +01:00
2012-12-23 21:46:30 +01:00
2012-12-09 11:10:30 +01:00
2012-12-30 01:39:37 +01:00
2011-09-10 20:08:49 +02:00
2012-12-29 21:50:07 +01:00
2012-05-26 00:12:37 +02:00
2011-03-13 22:00:24 +01:00