3 ms·
For one of the early iPhone jailbreaks, I made a patch for libtiff that fixed the bug that the jailbreak exploited. I didn't want to be pwned while browsing th
by dunham 5y ago
For one of the early iPhone jailbreaks, I made a patch for libtiff that fixed the bug that the jailbreak exploited. I didn't want to be pwned while browsing the web with my iTouch.
I gave the patch to someone named "pumpkin" on IRC, and it got integrated into the jailbreak. Kinda fun to be part of that, even though I only contributed a few bytes of code. (And I got to learn a little arm assembly.)
It's been a long time, but the tricky part was trying to shoehorn a if / return in there. I remember having to rewrite some existing code in a more efficient way (might have been jump table -> conditionals) to gain an extra couple of bytes.
I've also reversed java class files a few times to patch issues for work, but those usually have source these days. The one I remember, years ago, was a bug in the ftp code that could cause hangs with some servers. Something about sockets being closed in the wrong order.
The rest of my decompiling/disassembly has been for interoperability, trying to figure out stuff like the Notes.app or Numbers.app file formats.
- ineedasername 5y agoI didn't want to be pwned while browsing the web Oh I remember that bug. It was insane that a button on a web page could do that.