summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2011-04-20 07:13:51 +0000
committerclaudio <claudio@openbsd.org>2011-04-20 07:13:51 +0000
commit6f1afc579a35cd5399a0777d03d9cc7c97a331f3 (patch)
tree0a1559fd8f0f6c63679f8d19c6e291ffbb927069 /usr.bin/cvs/commit.c
parentPotential NULL deref in an error case spotted by chl on one copy; (diff)
downloadwireguard-openbsd-6f1afc579a35cd5399a0777d03d9cc7c97a331f3.tar.xz
wireguard-openbsd-6f1afc579a35cd5399a0777d03d9cc7c97a331f3.zip
Interrupt handlers should only return 1 if they did some work. The
intrstat on arc may have other status bits set which are masked as interrupt cause and not handled by our driver. So the intrstat == 0 check does not work reliably. It is better to do use a variable that is set to 1 when work is done and the cause is cleared. This makes arc(4) behave on systems where interrupts are shared. OK deraadt@ dlg@
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions