fix stupid typo in previous
This commit is contained in:
parent
730f7d0ae0
commit
f1f2294d10
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.16 2015/11/07 22:00:16 dholland Exp $
|
||||
$NetBSD: distinfo,v 1.17 2015/11/22 17:17:32 dholland Exp $
|
||||
|
||||
SHA1 (i2cbd-2.0_BETA5.tar.gz) = be219c5b6fa2413681214d756dee02c3cd252843
|
||||
RMD160 (i2cbd-2.0_BETA5.tar.gz) = d48988fb175857370c2523c86e0e586decbe28ae
|
||||
|
@ -7,5 +7,5 @@ Size (i2cbd-2.0_BETA5.tar.gz) = 59158 bytes
|
|||
SHA1 (patch-aa) = 0151f8e68be11e759425d2e9569df3d465c50931
|
||||
SHA1 (patch-ab) = bca8ecb0f41be6405333f2bcf7722dc725ffc777
|
||||
SHA1 (patch-ac) = ca8e6b7324a22fb9ecabf2374e34febb55196e28
|
||||
SHA1 (patch-src_access.c) = a75c4267be55e9316de63409dc5e1117345a0814
|
||||
SHA1 (patch-src_access.c) = 4762a7a050c811bb64cae8b2aabff9116cd25601
|
||||
SHA1 (patch-src_s__info.c) = 5e13e0b8934f45beac84be459ca85d9d089a4d3f
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-src_access.c,v 1.1 2015/11/07 22:00:16 dholland Exp $
|
||||
$NetBSD: patch-src_access.c,v 1.2 2015/11/22 17:17:33 dholland Exp $
|
||||
|
||||
Fix bounding errors detected by OpenBSD's compiler.
|
||||
|
||||
|
@ -18,7 +18,7 @@ Fix bounding errors detected by OpenBSD's compiler.
|
|||
sends_cmdout(forWhom, line);
|
||||
|
||||
- strlcpy(u_tab[forWhom].realname, "registered", LINE_SIZE);
|
||||
+ strlcpy(u_tab[forWhom].realname, "registered", sizeof(u_tab[forWhom].realname);
|
||||
+ strlcpy(u_tab[forWhom].realname, "registered", sizeof(u_tab[forWhom].realname));
|
||||
strlcpy(u_tab[forWhom].password, password, MAX_PASSWDLEN+1);
|
||||
nickwritetime(forWhom, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue