]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: gettimeofday: allow tv NULL pointer
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 20 Feb 2024 11:30:34 +0000 (12:30 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 20 Feb 2024 11:30:34 +0000 (12:30 +0100)
commit70653fd8f1db70b8776d22517fa737338eea18c7
tree3846dd279731399b331fea23b2ee1d563d7f6bec
parenta7bf7c7dd524ab724913da0019f8b4a5425b5927
Cygwin: gettimeofday: allow tv NULL pointer

Add a missing check for the struct timeval pointer being NULL.

Reported-by: 109224573 <109224573@qq.com>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/release/3.5.1
winsup/cygwin/times.cc
This page took 0.028571 seconds and 5 git commands to generate.