summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Demo/classes/Dates.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-01-01 07:39:17 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-01-01 07:39:17 +0100
commit1a02a458839fd85ff58856a666918db1d111adec (patch)
treec1aaa0bbc4f1ed2467f373b8480457b8205ead25 /sys/src/cmd/python/Demo/classes/Dates.py
parent18a50d04ac1587ad8119feffcc1fa9f7b9b90c6d (diff)
kernel: nil check, exited procs handling in postnote()
make sure not to dereference Proc* nil pointer. this can potentially happen from devip which has code like: if(er->read4p) postnote(er->read4p, 1, "unbind", 0); the process it is about to kill can zero er->read4p at any time, so there is the possibility of the condition to be true and then er->read4p becoming nil. check if the process has already exited (p->pid == 0) in postnote() under p->debug qlock.
Diffstat (limited to 'sys/src/cmd/python/Demo/classes/Dates.py')
0 files changed, 0 insertions, 0 deletions