Opened 12 years ago

Closed 12 years ago

#54 closed defect (fixed)

Crash in accept()

Reported by: guest Owned by: Sam Hocevar
Priority: major Milestone:
Component: zzuf Version: SVN
Keywords: Cc:
Product: libcaca


NULL is a valid argument for the addrlen parameter of accept but we dereference it in the debug information.

Change History (2)

comment:1 Changed 12 years ago by guest

#0 accept (sockfd=18, addr=0x0, addrlen=0x0) at lib-fd.c:259 259 debug("%s(%i, %p, &%i) = %i", func,

comment:2 Changed 12 years ago by Sam Hocevar

Resolution: fixed
Status: newclosed

Thanks for noticing this. It was fixed in commit [3408].

Note: See TracTickets for help on using tickets.