SECURITY:
fix a buffer overflow vulnerability; bump PKGNAME; http://www.vuxml.org/openbsd/0393affc-68d8-11d9-9b34-00065bd5b0b6.html
This commit is contained in:
parent
674dd0bfdb
commit
7284b0f29e
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2004/12/07 00:23:23 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2005/01/17 22:46:05 robert Exp $
|
||||
|
||||
COMMENT= "RTF document converter"
|
||||
|
||||
VERSION= 0.18.1
|
||||
DISTNAME= unrtf-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://www.gnu.org/software/unrtf/unrtf.html
|
||||
|
12
textproc/unrtf/patches/patch-convert_c
Normal file
12
textproc/unrtf/patches/patch-convert_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-convert_c,v 1.1 2005/01/17 22:46:05 robert Exp $
|
||||
--- convert.c.orig Mon Jan 17 23:32:14 2005
|
||||
+++ convert.c Mon Jan 17 23:33:03 2005
|
||||
@@ -332,7 +332,7 @@
|
||||
while(w2) {
|
||||
tmp = word_string (w2);
|
||||
if (tmp && tmp[0] != '\\')
|
||||
- strcat(name,tmp);
|
||||
+ strlcat(name,tmp,sizeof(name) - strlen(name) - 1);
|
||||
|
||||
w2=w2->next;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user