Hello uClibc group, 

We sent you this letter because your project uClibc has been scanned by 
SaveSources research team and we found a piece of code that looks incorrect.

Project: uClibc
Repository: svn://uclibc.org/trunk/uClibc/[EMAIL PROTECTED]

File: uClibc/test/string/tester.c:
1319:   equal(one, "axxxefgh", 2);              /* Basic test. */
1320: 
1321:   (void) memset(one+2, 'y', 0);
1322:   equal(one, "axxxefgh", 3);              /* Zero-length set. */


Reason: Zero length as a 3rd argument has no sense for memset function. It may 
happen order of 2nd and 3rd parameters are wrong.

We reported this because we are almost sure there is an issue in code mentioned 
above. 
If you want to be informed about not so obvious issues please send us a letter 
to [EMAIL PROTECTED]


For more information please visit our web site http://savesources.com

Thank you! 

Dmytro Gorbunov
Leader of SaveSources team
http://savesources.com


---
This letter is not spam.
If you has no relation with mentioned project and\or don't want to receive 
letters from us anymore please immediatelly contact us by mail [EMAIL PROTECTED]

_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to