Closed GoogleCodeExporter closed 9 years ago
I see the problem, but just to make it clear:
With the current code there is a risk that syslog() will try to dereference a
non-existent pointer, probably resulting in a segfault.
With your fix, it will literally print "foo %s" in the log.
Correct?
Original comment by fatbob.s...@gmail.com
on 23 Jan 2011 at 11:13
Original comment by fatbob.s...@gmail.com
on 23 Jan 2011 at 11:13
Yes. It might result in a segfault. I think it can be used to execute code even.
Original comment by tilm...@googlemail.com
on 23 Jan 2011 at 11:46
Committed in r154.
Thanks for your work!
Original comment by fatbob.s...@gmail.com
on 23 Jan 2011 at 12:08
Original issue reported on code.google.com by
tilm...@googlemail.com
on 22 Jan 2011 at 10:26Attachments: