Obvious fix for libiberty/md5.c

Andrew Haley aph@redhat.com
Tue Mar 11 14:10:00 GMT 2008


Nick Clifton wrote:
> Hi Guys,
> 
>   I hope that the following patch counts as obvious:  The
>   md5_process_bytes() routine in libiberty/md5.c uses the return value
>   of the memcpy() function, but under certain circumstances memcpy can
>   be aliased to bcopy() and bcopy does not have a return value.

That's a bug, right?  Shouldn't it be fixed?

Andrew.



More information about the Gcc-patches mailing list