[vlc-devel] [patch] init getline len

Rémi Denis-Courmont remi at remlab.net
Thu Feb 22 17:12:49 CET 2018


Le 20 février 2018 07:10:48 GMT+02:00, jnqnfe at gmail.com a écrit :
>patch: per getline (3), len should be init'd to 0
>
>not that it matters, but correct usage is correct usage

getline(3) actually states that *len is ignored if the buffer pointer is NULL.
-- 
Remi Denis-Courmont


More information about the vlc-devel mailing list