diff options
| author | tb <> | 2022-11-18 20:03:36 +0000 |
|---|---|---|
| committer | tb <> | 2022-11-18 20:03:36 +0000 |
| commit | 56bbf4102673c77ee6fb342c6a79ef36eddaacf7 (patch) | |
| tree | 21a199a413c30508ffcb36f0237841ca9ce7099e /src/regress/lib/libc/sys/t_msgctl.c | |
| parent | 9c7e421fa26bb5dcca9cf2ae11ed37a6b592bc44 (diff) | |
| download | openbsd-56bbf4102673c77ee6fb342c6a79ef36eddaacf7.tar.gz openbsd-56bbf4102673c77ee6fb342c6a79ef36eddaacf7.tar.bz2 openbsd-56bbf4102673c77ee6fb342c6a79ef36eddaacf7.zip | |
Check os for NULL before dereferencing it
Avoids a segfault when both priv == NULL and os == NULL.
ok miod
Diffstat (limited to 'src/regress/lib/libc/sys/t_msgctl.c')
0 files changed, 0 insertions, 0 deletions
