diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-01-20 00:36:37 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2004-01-20 00:36:37 +0000 |
commit | e35846b662f7fce5daa96e14307c10be49767194 (patch) | |
tree | c4fc4b45c2fe6a56bed447ebf71c2e9703eab1a7 /comms/viewfax | |
parent | 5d60900891d6f706f9783ebf973d46fe16890ab0 (diff) | |
download | ports-e35846b662f7fce5daa96e14307c10be49767194.tar.gz ports-e35846b662f7fce5daa96e14307c10be49767194.zip |
Notes
Diffstat (limited to 'comms/viewfax')
-rw-r--r-- | comms/viewfax/Makefile | 2 | ||||
-rw-r--r-- | comms/viewfax/files/patch-aa | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comms/viewfax/Makefile b/comms/viewfax/Makefile index 016158a112a4..473247dcbd80 100644 --- a/comms/viewfax/Makefile +++ b/comms/viewfax/Makefile @@ -7,7 +7,7 @@ PORTNAME= viewfax PORTVERSION= 2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/ diff --git a/comms/viewfax/files/patch-aa b/comms/viewfax/files/patch-aa index b8782ecf2042..3030676024f0 100644 --- a/comms/viewfax/files/patch-aa +++ b/comms/viewfax/files/patch-aa @@ -5,7 +5,7 @@ n = *r++; tot += n; + /* Watch out for buffer overruns, e.g. when n == 65535. */ -+ if (tot >= pn->width) ++ if ( tot > pn->width || LineNum >= pn->height && tot >= pn->width ) + break; if (pix) acc |= (~(t32bits)0 >> nacc); |