History log of /system/core/libcutils/hashmap.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4fab9ac04e444f8ad057e67006320ca25381948e 24-Mar-2011 Dima Zavin <dima@android.com> libcutils: hashmap: save next pointer in forEach before calling callback

If the callback passed to forEach tries to remove the element it was passed,
there's a use-after-free of the entry pointer in forEach.

Change-Id: Ia364b4775c9c55780b23f683b30cbff511b7f944
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/hashmap.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libcutils/hashmap.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libcutils/hashmap.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libcutils/hashmap.c