New submission from Winter Knight <[EMAIL PROTECTED]>:

This issue affects the latest libavutil from svn revision 15305, as well the
latest Debian version from Feb 6, 2008.

I have included a C file that will checksum a 119 char string, and a 120 char
string. The 119 char string checksums OK, but av_md5-sum will not correctly
handle the 120 char string.

Here is the output of a few commands I ran after compiling:

$ ./ffmpeg-md5120-bug
hex_output: d18bfe8ba20c8e9c8917a2b578e8511e  strlen: 119
hex_output: 49dd12ca7a3bfeeb3d3635e99fe0a1c0  strlen: 120
$ ./ffmpeg-md5120-bug 119 | md5sum
d18bfe8ba20c8e9c8917a2b578e8511e  -
$ ./ffmpeg-md5120-bug 120 | md5sum
aa7b611547584fe23c71471d26e16748  -

Notice that the 119 char string matches against gnu md5sum, and the 120 char
string does not.

----------
messages: 3120
nosy: Winter Knight
priority: normal
status: new
substatus: new
title: md5 gives incorrect output when input is 120 chars or greater
type: bug

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue634>
______________________________________________________

Reply via email to