diff options
author | cube <cube@pkgsrc.org> | 2008-07-28 16:27:42 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2008-07-28 16:27:42 +0000 |
commit | 511c5d6ab71e2e98cde66ff6e20f55c2c2e38678 (patch) | |
tree | df9a2d19bc12e7fa1aee025aef60f093614dcba6 /news/newsx/patches | |
parent | c08efdb4b969709c7cc6df343de78c655e80f56c (diff) | |
download | pkgsrc-511c5d6ab71e2e98cde66ff6e20f55c2c2e38678.tar.gz |
- Make news/newsx build again after latest news/inn update.
- Apply a patch from Fedora (by Dominik 'Rathann' Mierzejewski) to fix
CVE-2008-3252.
Bump package revision (security fix).
Diffstat (limited to 'news/newsx/patches')
-rw-r--r-- | news/newsx/patches/patch-ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/news/newsx/patches/patch-ac b/news/newsx/patches/patch-ac new file mode 100644 index 00000000000..e8aabcf861a --- /dev/null +++ b/news/newsx/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2008/07/28 16:27:42 cube Exp $ + +--- src/getarticle.c.orig 2003-01-21 10:47:25.000000000 +0100 ++++ src/getarticle.c +@@ -143,12 +143,12 @@ read_article(long where,char *group) + long len; + long bytecount = 0L; /* BUG: */ + +- line=linebuf; +- line[MAX_HEADER_SIZE] = '\0'; /* better safe than sorry */ ++ linebuf[MAX_HEADER_SIZE] = '\0'; /* better safe than sorry */ + path_line[0] = '\0'; + + /* fetch the article, header and body */ + for (;;) { ++ line=linebuf; + if (!get_server_msg(line, MAX_HEADER_SIZE)) { + /* timeout: simply give up */ + return 0; |