4 thoughts on “Memset in Android

  1. The bug was present because it’s a code path that’s never exercised, at least in stock Android builds. We use a faster version of memset :)

  2. Yowzers… This seems like it’d be a highly trafficked piece of code, so darn surprising it was broken until recently. Any idea on how it affected anything or was this limited to NDK usage of memset function via C / C++?

  3. @Romain so the Framework itself uses another libc? Interesting.

    In any case it’s probably not all that bad as most people will use it to set a block of memory to zero. shit happens :)

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>