Update to 1.00pre19. Fixes CVE-2006-5925 (smbclient command injection).

"please commit it" sturm@
ok espie@
This commit is contained in:
kili 2006-12-13 08:52:07 +00:00
parent 4fde9e9461
commit 4de9370493
4 changed files with 11 additions and 41 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2005/11/03 18:28:56 naddy Exp $
# $OpenBSD: Makefile,v 1.12 2006/12/13 08:52:07 kili Exp $
COMMENT= "text browser, displays while downloading"
VERSION= 0.99
VERSION= 1.00pre19
DISTNAME= links-${VERSION}
CATEGORIES= www

View File

@ -1,4 +1,4 @@
MD5 (links-0.99.tar.gz) = c487673abcd6ffe568ab04e6003abdc8
RMD160 (links-0.99.tar.gz) = fafa5e7a58cb28fa89c0f87d92d7fa77027df1ef
SHA1 (links-0.99.tar.gz) = bccdb4f0359d27233218dc288e0465a931508e59
SIZE (links-0.99.tar.gz) = 587574
MD5 (links-1.00pre19.tar.gz) = 06e77a7b59d453d864d5f79ae02eb580
RMD160 (links-1.00pre19.tar.gz) = 99eb841d87d2da569394330693aec583f807c5ea
SHA1 (links-1.00pre19.tar.gz) = 4ceefdf292737c463ad70e011efceef9a3180dbb
SIZE (links-1.00pre19.tar.gz) = 620103

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_in,v 1.1 2004/02/23 15:44:43 espie Exp $
--- configure.in.orig Thu Feb 12 23:04:49 2004
+++ configure.in Thu Feb 12 23:05:41 2004
@@ -147,17 +147,7 @@
$OpenBSD: patch-configure_in,v 1.2 2006/12/13 08:52:07 kili Exp $
--- configure.in.orig Tue Nov 28 23:17:21 2006
+++ configure.in Sun Dec 10 12:09:19 2006
@@ -200,17 +200,7 @@ CFLAGS_X="$CFLAGS"
LIBS_X="$LIBS"
cf_result=no
if test -z "$disable_ssl"; then
@ -19,7 +19,7 @@ $OpenBSD: patch-configure_in,v 1.1 2004/02/23 15:44:43 espie Exp $
for ssldir in "" /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/local/www /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl; do
if test "$cf_result" = no; then
if test ! -z "$ssldir" && test "$ssldir" != /usr; then
@@ -172,7 +162,6 @@
@@ -225,7 +215,6 @@ if test -z "$disable_ssl"; then
fi
fi
done

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-kbdbind_c,v 1.1 2004/05/09 21:11:16 naddy Exp $
--- kbdbind.c.orig 2004-05-08 19:19:29.000000000 +0200
+++ kbdbind.c 2004-05-08 19:19:55.000000000 +0200
@@ -74,7 +74,7 @@ struct strtonum {
long num;
};
-static long strtonum(struct strtonum *table, char *s)
+static long str_to_num(struct strtonum *table, char *s)
{
struct strtonum *p;
for (p = table; p->str; p++)
@@ -90,7 +90,7 @@ static int parse_keymap(unsigned char *s
{ "menu", KM_MENU },
{ NULL, 0 }
};
- return strtonum(table, s);
+ return str_to_num(table, s);
}
static long parse_key(unsigned char *s)
@@ -124,7 +124,7 @@ static long parse_key(unsigned char *s)
{ "F12", KBD_F12 },
{ NULL, 0 }
};
- return (strlen(s) == 1) ? *s : strtonum(table, s);
+ return (strlen(s) == 1) ? *s : str_to_num(table, s);
}
static int parse_keystroke(unsigned char *s, long *x, long *y)