Eric, your last patches brought my attention to md5.c, and I noticed
that the code in it (both old and current versions) can set
ctx->internal_buf.p8 to 0, but leave ctx->capacity unchanged.
IMHO it makes sense to update this variable too.
Also, 'FLAC__byte* tmp' variable is unnecessary now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md5_alloc.patch
Type: application/octet-stream
Size: 736 bytes
Desc: not available
Url :
http://lists.xiph.org/pipermail/flac-dev/attachments/20150822/03129942/attachment.obj