Hi all,

during the test builds of the upcoming 2.14 on RHEL5 I have discovered 2
bugs where wrong size parameter was passed to the memcmp/memset
functions.

https://sourceforge.net/tracker/?func=detail&aid=2737059&group_id=71730&atid=532251
https://sourceforge.net/tracker/?func=detail&aid=2737084&group_id=71730&atid=532251

I did a quick scan of the usage of "sizeof" in the code and these 2
should be all occurrences containing the buggy usage of
"sizeof(SOME_DEFINED_SIZE)" instead of plain "SOME_DEFINED_SIZE".

There is another issue where it is expected that memcmp() will return
+1/0/-1, but by definition "an integer less than, equal to, or greater
than zero" can be returned.

https://sourceforge.net/tracker/?func=detail&aid=2737502&group_id=71730&atid=532251


                Dan

-- 
Dan Horák, RHCE
Software Engineer, BaseOS

Red Hat Czech s.r.o., Purkyňova 99, 612 45 Brno


------------------------------------------------------------------------------
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to