Opened 14 years ago

Closed 13 years ago

#253 closed defect (fixed)

NS wait_for_task references NULL pointer.

Reported by: Tomas Brambora Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/srv/ns Version: mainline
Keywords: Cc: jakub@…
Blocker for: Depends on:
See also:


If we don't find the task to wait for by its TID, we set

hashed_task_t *ht = NULL

and jump to "out" label, where we reference


And NS crashes.

Change History (4)

comment:1 by Jakub Jermář, 13 years ago

Hi Tomas,

is there a real-world scenario leading to this bug or did you find it by inspecting the code?


comment:2 by Jakub Jermář, 13 years ago

Cc: jakub@… added

comment:3 by Jakub Jermář, 13 years ago

Martin Sucha discovered a test case:

# redir -o /test.txt -- cat /readme

comment:4 by Jakub Jermář, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.