diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-07-23 17:26:53 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-07-23 17:26:53 +0000 |
commit | c795344ff71ff37ee942ac1ace3705a58a9d9ad8 (patch) | |
tree | 9e68af145b3af63758a4d41639dc738e81da2690 /sys/sys/auxv.h | |
parent | e605dcc939848312a201b4aa53bd7bb67d862b18 (diff) | |
download | src-c795344ff71ff37ee942ac1ace3705a58a9d9ad8.tar.gz src-c795344ff71ff37ee942ac1ace3705a58a9d9ad8.zip |
locks: fix a long standing bug for primitives with kdtrace but without spinning
In such a case the second argument to lock_delay_arg_init was NULL which was
immediately causing a null pointer deref.
Since the sructure is only used for spin count, provide a dedicate routine
initializing it.
Reported by: andrew
Notes
Notes:
svn path=/head/; revision=363451
Diffstat (limited to 'sys/sys/auxv.h')
0 files changed, 0 insertions, 0 deletions