Date: Wed, 4 Apr 2001 08:09:54 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ftp util.c Message-ID: <200104041509.f34F9tP02588@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2001/04/04 08:09:54 PDT
Modified files:
usr.bin/ftp util.c
Log:
Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to
move the "for safety" zeroing of unused members of timebuf to a better
place. It actually moved the zeroing to a worse place and didn't add
necessary braces.
Fixed a nearby older bug. timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid. Even when it is zeroed, a failing mktime()
might set it to nonzero.
PR: 25243
Revision Changes Path
1.14 +9 -7 src/usr.bin/ftp/util.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104041509.f34F9tP02588>
