Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[b][u][i]GNU QUALITY[/i][/u][/b]

Name: Anonymous 2011-11-14 17:14

So my C code segfaults. Nothing new or interesting about that, let's just sprinkle the code with printfs and fire up gdb.
Oh wait, it segfaults WITHIN FUCKING malloc.
I call
malloc(24)
and the bitch just segfaults. What the fuck. (Yes, it's glibc)

GNU QUALITY

Name: Anonymous 2011-11-15 2:35

>>15
I, of course, was calling it with sizeof some struct (of size 24). I put 24 there just to be clear that I don't try to allocate something stupid.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List