- Plug buffer overflow vulnerability [1]
http://www.freebsd.org/ports/portaudit/7a5430df-d562-11d8-b479-02e0185c0b53.html - Use libtool15 PR: ports/69632 [1] Submitted by: David Bremner <bremner@unb.ca> [1] Obtained from: AbiWord CVS [1]
This commit is contained in:
parent
c4ab51f484
commit
7ffd5a6293
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114940
3 changed files with 73 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= wv
|
||||
PORTVERSION= 1.0.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= wvware
|
||||
|
@ -21,7 +21,7 @@ RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx
|
|||
USE_GETOPT_LONG= yes
|
||||
USE_GNOME= gnometarget pkgconfig
|
||||
USE_GMAKE= yes
|
||||
USE_INC_LIBTOOL_VER=13
|
||||
USE_LIBTOOL_VER=15
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ARGS= --with-exporter --with-libwmf=${LOCALBASE}
|
||||
MAKEFILE= GNUmakefile
|
||||
|
|
70
textproc/wv/files/patch-field.c
Normal file
70
textproc/wv/files/patch-field.c
Normal file
|
@ -0,0 +1,70 @@
|
|||
Index: field.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/wv/field.c,v
|
||||
retrieving revision 1.19
|
||||
retrieving revision 1.20
|
||||
diff -u -r1.19 -r1.20
|
||||
--- field.c 29 Dec 2002 16:37:00 -0000 1.19
|
||||
+++ field.c 5 Jul 2004 18:10:03 -0000 1.20
|
||||
@@ -98,18 +98,21 @@
|
||||
case 1:
|
||||
sprintf (temp, "%d", current->tm_mon+1);
|
||||
strcat (timestr, temp);
|
||||
+ consumed += strlen (temp);
|
||||
break;
|
||||
case 2:
|
||||
strcat (timestr, "%m");
|
||||
+ consumed += 2;
|
||||
break;
|
||||
case 3:
|
||||
strcat (timestr, "%b");
|
||||
+ consumed += 2;
|
||||
break;
|
||||
default:
|
||||
strcat (timestr, "%B");
|
||||
+ consumed += 2;
|
||||
break;
|
||||
}
|
||||
- consumed += 2;
|
||||
break;
|
||||
case 's':
|
||||
case 'S':
|
||||
@@ -139,6 +142,7 @@
|
||||
case 1:
|
||||
consumed += sprintf (temp, "%d", current->tm_wday);
|
||||
strcat (timestr, temp);
|
||||
+ consumed += strlen (temp);
|
||||
break;
|
||||
case 2:
|
||||
strcat (timestr, "%d");
|
||||
@@ -182,12 +186,13 @@
|
||||
case 1:
|
||||
sprintf (temp, "%d", current->tm_hour % 12);
|
||||
strcat (timestr, temp);
|
||||
+ consumed += strlen (temp);
|
||||
break;
|
||||
default:
|
||||
strcat (timestr, "%I");
|
||||
+ consumed += 2;
|
||||
break;
|
||||
}
|
||||
- consumed += 2;
|
||||
break;
|
||||
case 'H':
|
||||
no = lookahead (token, 'H', 'H');
|
||||
@@ -197,6 +202,7 @@
|
||||
case 1:
|
||||
consumed += sprintf (temp, "%d", current->tm_hour);
|
||||
strcat (timestr, temp);
|
||||
+ consumed += strlen (temp);
|
||||
break;
|
||||
default:
|
||||
strcat (timestr, "%H");
|
||||
@@ -212,6 +218,7 @@
|
||||
case 1:
|
||||
consumed += sprintf (temp, "%d", current->tm_min);
|
||||
strcat (timestr, temp);
|
||||
+ consumed += strlen (temp);
|
||||
break;
|
||||
default:
|
||||
strcat (timestr, "%M");
|
|
@ -20,6 +20,7 @@ include/wv/wv.h
|
|||
include/wv/wvexporter.h
|
||||
lib/libwv.a
|
||||
lib/libwv.so
|
||||
lib/libwv-1.0.so
|
||||
lib/libwv-1.0.so.0
|
||||
libdata/pkgconfig/wv-1.0.pc
|
||||
share/wv/patterns/100.gif
|
||||
|
|
Loading…
Reference in a new issue