Displaying 1 result from an estimated 1 matches for "_v_readstring".
2001 Oct 13
1
small bug
...n of _v_writestring for the 8-bit
clean input that accepts a byte-count argument. (around line 44 of info.c)
and supply the byte-count argument in _vorbis_pack_comment (around line 428)
(The vendor string uses strlen, so cannot possibly have an embedded NUL
it seems, so that bit is fine)
Note the _v_readstring (correctly, for comment headers w/ embedded NULs)
has a byte-count, and should work just fine when unpacking correctly-formed
headers (but would would bomb or give garbled poetry as it reads past the
short end-of-packet).
Of course, to add 8-bit clean data, one has to muck with vc.user_comments
di...