Re:I got accidental code execution via glibc?
by kaizoku_ on Saturday February 26, 2011 @03:13AM
(#2265139)
The title makes me think that the code execution is the point of the story and he doesn't seem to understand how that happens in fnmatch().
Re:I got accidental code execution via glibc?
by pmjordan on Saturday February 26, 2011 @07:47AM
(#2265418)
He's established that the stack pointer rolls over due to integer overflow. He hasn't established exactly which part of the input data gets copied over the return pointer, but you're only really interested in that if you're trying to exploit the weakness. Establishing that the stack pointer does overflow is sufficient for the purposes of fixing the bug.
The code execution is not the point of the story.