YMODEM sends block0 to notify END OF TRANSFER. But block0 includes invalid non-NULL data. Because struct stat f; doesn't initialize f.st_size. The file size is exist, it is recognized as valid file transfer block. Fix: Initialize f.st_size. Patch attached with submission follows: How-To-Repeat: lsz --ymodem foo.txt
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer (via the GNATS Auto Assign Tool)
dinoex 2012-01-31 04:41:33 UTC FreeBSD ports repository Modified files: comms/lrzsz Makefile Added files: comms/lrzsz/files patch-lsz.c Log: - fix bug in ymodem with non zero malloc PR: 164347 Submitted by: NAGATA Shinya Revision Changes Path 1.30 +1 -1 ports/comms/lrzsz/Makefile 1.1 +10 -0 ports/comms/lrzsz/files/patch-lsz.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed committed, thanks.