summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/imaxdiv.c
diff options
context:
space:
mode:
authorjsing <>2017-02-15 14:56:42 +0000
committerjsing <>2017-02-15 14:56:42 +0000
commitc9870b6d740fcfd799c679340c914b331330ea1f (patch)
tree2871d8d02337112448a3261e84e5bc46ece7ac1e /src/lib/libc/stdlib/imaxdiv.c
parent6e7e594e65dc4fd8bd52c87affccd5f2f8da7266 (diff)
downloadopenbsd-c9870b6d740fcfd799c679340c914b331330ea1f.tar.gz
openbsd-c9870b6d740fcfd799c679340c914b331330ea1f.tar.bz2
openbsd-c9870b6d740fcfd799c679340c914b331330ea1f.zip
Avoid dereferencing a pointer when reporting an error about the same
pointer being NULL. Found by jsg@ with cppcheck; also detected by Coverity.
Diffstat (limited to 'src/lib/libc/stdlib/imaxdiv.c')
0 files changed, 0 insertions, 0 deletions