On Sat, Nov 21, 2015 at 11:08:08AM +0100, Martti Kühne wrote: > What makes you think this is an overflow?
Because the segmentation fault occurs when ptr goes past the end of buf.
On Sat, Nov 21, 2015 at 11:08:08AM +0100, Martti Kühne wrote: > What makes you think this is an overflow?
Because the segmentation fault occurs when ptr goes past the end of buf.