RPISEC / MBE

Course materials for Modern Binary Exploitation by RPISEC
BSD 2-Clause "Simplified" License
5.43k stars 881 forks source link

incorrect variable use in pwn_read #13

Closed ykram closed 9 years ago

ykram commented 9 years ago

pwn_read() returns 'len' which causes a compiler error as it is not defined. I think what was meant here was to return 'count' instead.

Signed-off-by: marky mark@noffle.net

pbiernat commented 9 years ago

Yes, you're right. len used to be a variable in pwn_read and wasn't cleaned up properly when I was touching up the source.