News for hackers. Stuff that matters.
Re:How a double-free bug in WhatsApp turns to remote code ex... by umanwizard on Wednesday October 02, 2019 @10:42AM (#21136971)
How do other malloc implementations avoid this? It seems natural if what “free” does involves adding the pointer to some free list. Obviously you wouldn’t want to scan the whole free list every time looking for duplicates - is there another way to avoid this behavior?
Re:How a double-free bug in WhatsApp turns to remote code ex... by tedunangst on Wednesday October 02, 2019 @04:13PM (#21140308)
Bitmaps don't require scanning.
Re:How a double-free bug in WhatsApp turns to remote code ex... by saagarjha on Thursday October 03, 2019 @01:24AM (#21143990)
They do, you'd just scanning a smaller thing.
Re:How a double-free bug in WhatsApp turns to remote code ex... by tedunangst on Thursday October 03, 2019 @01:37AM (#21144046)
What are you scanning the bitmap looking for? Why not just index into it and look at the relevant bit?