Memset(x,y,0) bugs in Owl-3.0

Silvio Cesare <[email protected]>
Newsgroups gmane.linux.openwall.user
Message-ID <[email protected]>
I did a scan of the Owl-3.0 sources to find places where memset(x,y,0) was
used when it should have been memset(x,0,y).

The results are
https://github.com/silviocesare/Automated-Audits/blob/master/Owl-3.0/Memset0Count/08-01-2011/Results-->

./rpm-4.2/db/btree/bt_open.c:           memset(buf, dbp->pgsize, 0);
./rpm-4.2/db/hash/hash_open.c:          memset(buf, dbp->pgsize, 0);
./slang-1.4.6/demo/pager.c:   memset ((char *) line, sizeof
(File_Line_Type), 0);

--
Silvio Cesare
Deakin University
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.