1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/usr.bin/ftp
Bruce Evans 09f59dfc92 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
2001-04-04 15:09:54 +00:00
..
cmds.c
cmdtab.c
complete.c
domacro.c
extern.h
fetch.c
ftp_var.h
ftp.1
ftp.c
main.c
Makefile
pathnames.h
ruserpass.c
util.c Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to 2001-04-04 15:09:54 +00:00