]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tools: vsnprintf() is not always reliable on Solaris
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2013 20:48:54 +0000 (22:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2013 20:58:28 +0000 (22:58 +0200)
commit1b2fed696292b2352a4e14006eabf308876079ec
treedb0d1d2a93fa202edd1879a4bee695a0c6a37b3a
parenta39d19905e63971b9545accd69a6ce7ac9e529e1
BUG/MEDIUM: tools: vsnprintf() is not always reliable on Solaris

Seen on Solaris 8, calling vsnprintf() with a null-size results
in the output size not being computed. This causes some random
behaviour including crashes when trying to display error messages
when loading an invalid configuration.
src/standard.c