pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/dropbear Prefer NAME_MAX over MAXNAMLEN.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d00ecda02a99
branches: trunk
changeset: 506620:d00ecda02a99
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jan 19 23:53:54 2006 +0000
description:
Prefer NAME_MAX over MAXNAMLEN.
diffstat:
security/dropbear/distinfo | 3 ++-
security/dropbear/patches/patch-ae | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r abd767ed6da1 -r d00ecda02a99 security/dropbear/distinfo
--- a/security/dropbear/distinfo Thu Jan 19 23:42:11 2006 +0000
+++ b/security/dropbear/distinfo Thu Jan 19 23:53:54 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/12/14 18:00:12 reed Exp $
+$NetBSD: distinfo,v 1.11 2006/01/19 23:53:54 joerg Exp $
SHA1 (dropbear-0.46.tar.bz2) = 2b6d2083ec0294fde55c75e4080c06637cbcf833
RMD160 (dropbear-0.46.tar.bz2) = f7c61b021705362f55209bc0f383d0bf3336841e
@@ -7,3 +7,4 @@
SHA1 (patch-ab) = 7096feb1f8cc7372410f2e94d7961190a6974fad
SHA1 (patch-ac) = 5a8bc0ccaba26fcf497de554a5c3a9478203adb1
SHA1 (patch-ad) = 4dd93da76596411dadb731e85208c07baf707d03
+SHA1 (patch-ae) = 9300c096cd498a1628bef960bdaccda4345c9a3c
diff -r abd767ed6da1 -r d00ecda02a99 security/dropbear/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/dropbear/patches/patch-ae Thu Jan 19 23:53:54 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1 2006/01/19 23:53:54 joerg Exp $
+
+--- svr-tcpfwd.c.orig 2006-01-19 23:47:43.000000000 +0000
++++ svr-tcpfwd.c
+@@ -80,7 +80,11 @@ void recv_msg_global_request_remotetcp()
+ reqname = buf_getstring(ses.payload, &namelen);
+ wantreply = buf_getbool(ses.payload);
+
++#if defined(NAME_MAX)
++ if (namelen > NAME_MAX) {
++#else
+ if (namelen > MAXNAMLEN) {
++#endif
+ TRACE(("name len is wrong: %d", namelen))
+ goto out;
+ }
Home |
Main Index |
Thread Index |
Old Index