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.)
[ Parent
| on HN ]