]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Put in some explicit null-pointer checks.
authorSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 20:47:16 +0000 (20:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 23:25:25 +0000 (23:25 +0000)
commit2247065d0fa88daf8499eb937ee60e8e3df22261
tree4408cbbd4017be5258b2b0e4fb0b2faf3cf43f07
parentbda87b39e40ec4e75309cdf778dfc9cd339fdeeb
Put in some explicit null-pointer checks.

I think these were not strictly necessary, since passing a null
pointer to access(2) would have resulted in EINVAL rather than a
segfault. But it's clearer to put them in (and keeps static checkers a
bit happier).
unix/uxstore.c