]> git.sesse.net Git - vlc/commit
snprintf() always puts a nul terminator...
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 11 Apr 2010 08:19:42 +0000 (11:19 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 11 Apr 2010 08:19:42 +0000 (11:19 +0300)
commita54335c703c1abb1ea72a109bd99a6919f57ce70
treeea670501376b7cafa7cf222171a14fce38e8bebe
parent88e7248c43324b2f776cf54f4d90dc960a581756
snprintf() always puts a nul terminator...

...unless the buffer has zero size.
This is not to be confused with strncpy().
src/libvlc.c