=?US-ASCII?Q?Incorrect code detected in project uClibc by SaveSources.com?=
gdm at savesources.com
gdm at savesources.com
Fri Nov 21 16:06:50 UTC 2008
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/...@24106
File: uClibc/extra/locale/gen_wc8bit.c:
219: fprintf(out, "\t{ /* %.*s */", n, s0);
220: }
221:
222: memset(&csd[numsets],sizeof(charset_data),0);
223: memset(xi, sizeof(xi), 0);
224: {
225: unsigned long c, wc;
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 scan at savesources.com
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 abuse at savesources.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20081121/536b0fcd/attachment-0001.htm
More information about the uClibc
mailing list