News for hackers. Stuff that matters.
Re:Android Project Changeset 4f8b683: libc/memset.c by draebek on Tuesday May 25, 2010 @07:48PM (#1379045)
memset's job is to fill a block of memory with a given byte. The most common fill byte is 0, to initialize or otherwise clear a buffer. It looks like it is so common, in fact, that a programmer accidentally made Android's memset _always_ fill with 0, no matter what byte was passed in, and presumably no one noticed for a while. (I can't figure out when this patch was introduced.)
Re:Android Project Changeset 4f8b683: libc/memset.c by jared314 on Tuesday May 25, 2010 @07:50PM (#1379050)
The "Up to change" link takes you to the summary. May 13, 2010