Fix error in __vsnprintf_chk()
__vsnprintf_chk() passed the wrong length argument to the vsnprintf() call. I'm not aware of any specific bug this solves, but I found this error while auditing the *_chk() functions to figure out why "rogue" works when compiled with -DUSE_FORTIFY_LEVEL=1 but not with USE_FORTIFY_LEVEL=2. Signed-off-by:Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Please register or sign in to comment