From owner-cvs-all Wed Apr 4 8: 9:59 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0637B71F; Wed, 4 Apr 2001 08:09:55 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f34F9tP02588; Wed, 4 Apr 2001 08:09:55 -0700 (PDT) (envelope-from bde) Message-Id: <200104041509.f34F9tP02588@freefall.freebsd.org> From: Bruce Evans Date: Wed, 4 Apr 2001 08:09:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ftp util.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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