diff options
Diffstat (limited to 'comms/viewfax/files/patch-aa')
-rw-r--r-- | comms/viewfax/files/patch-aa | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/comms/viewfax/files/patch-aa b/comms/viewfax/files/patch-aa deleted file mode 100644 index 3030676024f0..000000000000 --- a/comms/viewfax/files/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ ---- viewfax.c 1996/11/13 21:46:44 2.4 -+++ viewfax.c 2000/08/25 19:51:10 2.4.0.1 -@@ -294,6 +294,9 @@ drawline(pixnum *run, int LineNum, struc - while (tot < pn->width) { - n = *r++; - tot += n; -+ /* Watch out for buffer overruns, e.g. when n == 65535. */ -+ if ( tot > pn->width || LineNum >= pn->height && tot >= pn->width ) -+ break; - if (pix) - acc |= (~(t32bits)0 >> nacc); - else if (nacc) |