Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist Build with FORTIFY_SOURCE
details: https://anonhg.NetBSD.org/src/rev/0611547c3ff4
branches: trunk
changeset: 327003:0611547c3ff4
user: roy <roy%NetBSD.org@localhost>
date: Tue Feb 25 14:10:09 2014 +0000
description:
Build with FORTIFY_SOURCE
diffstat:
external/bsd/dhcpcd/dist/dhcpcd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 997c4292ae9b -r 0611547c3ff4 external/bsd/dhcpcd/dist/dhcpcd.c
--- a/external/bsd/dhcpcd/dist/dhcpcd.c Tue Feb 25 14:09:13 2014 +0000
+++ b/external/bsd/dhcpcd/dist/dhcpcd.c Tue Feb 25 14:10:09 2014 +0000
@@ -1,5 +1,5 @@
#include <sys/cdefs.h>
- __RCSID("$NetBSD: dhcpcd.c,v 1.1.1.41 2014/02/25 13:14:28 roy Exp $");
+ __RCSID("$NetBSD: dhcpcd.c,v 1.2 2014/02/25 14:10:09 roy Exp $");
/*
* dhcpcd - DHCP client daemon
@@ -760,7 +760,7 @@
const uint8_t *hwaddr, size_t hwlen)
{
struct interface *ifp;
- char buf[hwlen * 3];
+ char buf[sizeof(ifp->hwaddr) * 3];
ifp = find_interface(ctx, ifname);
if (ifp == NULL)
Home |
Main Index |
Thread Index |
Old Index