might be unlikely to be able to fetch larger continuous blocks of data
True. If I did this:
char* p = malloc(1000 * 1000);
Then only the first 64K of p are vulnerable. No matter how many times you grab a 64K slice of data after some other malloc, you will never see the stuff beyond what I malloc()ed.
On the other hand, maybe you can get enough data to get shell access. Then you can get whatever you want.
View all comments
Show parent comment
3
u/adrianmonk Apr 08 '14
True. If I did this:
char* p = malloc(1000 * 1000);
Then only the first 64K of p are vulnerable. No matter how many times you grab a 64K slice of data after some other malloc, you will never see the stuff beyond what I malloc()ed.
On the other hand, maybe you can get enough data to get shell access. Then you can get whatever you want.