Opened 18 years ago

Closed 18 years ago

#855 closed bug (fixed)

error in signal.c

Reported by: marcusoverhagen Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

gcc 4.0 warns:

src/system/kernel/signal.c: In function ‘send_signal_etc’:

src/system/kernel/signal.c:324: warning: ‘thread’ is used uninitialized in this function

id = thread->team->id;

Accessing thread variable might crash the system. I've removed the access, since id seems to be not used after that. Please review

Change History (1)

comment:1 by axeld, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev18941.

Note: See TracTickets for help on using tickets.