fix null pointer dereference in setitimer time32 compat shim
commit9432bbd4e880850357fd0a81b429499451eb2084
authorRich Felker <dalias@aerifal.cx>
Sun, 8 Dec 2019 15:35:04 +0000 (8 10:35 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 8 Dec 2019 15:35:04 +0000 (8 10:35 -0500)
tree180513b03ef7ff013ad98617b2181f7e7d90c524
parentb1e2aae0aa6edd91413b288b9cc6939f2d80e302
fix null pointer dereference in setitimer time32 compat shim

this interface permits a null pointer for where to store the old
itimerval being replaced. an early version of the time32 compat shim
code had corresponding bugs for lots of functions; apparently
setitimer was overlooked when fixing them.
compat/time32/setitimer_time32.c