Opened 14 years ago
Closed 14 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: |
Description
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
ht->have_rval
And NS crashes.
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Cc: | added |
---|
comment:3 by , 14 years ago
Martin Sucha discovered a test case:
# redir -o /test.txt -- cat /readme
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in changeset:mainline,723.
Note:
See TracTickets
for help on using tickets.
Hi Tomas,
is there a real-world scenario leading to this bug or did you find it by inspecting the code?
Thanks,
Jakub