mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- fix bug in ymodem with non zero malloc
PR: 164347 Submitted by: NAGATA Shinya
This commit is contained in:
parent
60b692e8d6
commit
da4e511d26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290148
2 changed files with 11 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= lrzsz
|
||||
PORTVERSION= 0.12.20
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= http://www.ohse.de/uwe/releases/
|
||||
|
||||
|
|
10
comms/lrzsz/files/patch-lsz.c
Normal file
10
comms/lrzsz/files/patch-lsz.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/lsz.c.orig 1998-12-30 07:07:59.000000000 +0900
|
||||
+++ src/lsz.c 2012-01-21 10:44:49.000000000 +0900
|
||||
@@ -1191,6 +1191,7 @@
|
||||
struct stat f;
|
||||
|
||||
name2=alloca(PATH_MAX+1);
|
||||
+ f.st_size = 0;
|
||||
|
||||
if (protocol==ZM_XMODEM) {
|
||||
if (Verbose && *zi->fname && fstat(fileno(input_f), &f)!= -1) {
|
Loading…
Add table
Reference in a new issue