8779cd4b60
o fix dspamc that was busted in the 3.8.0 release, verified to work via testing
13 lines
392 B
Plaintext
13 lines
392 B
Plaintext
$OpenBSD: patch-src_list_c,v 1.2 2007/12/21 14:42:23 todd Exp $
|
|
--- src/list.c.orig Sat May 13 03:12:59 2006
|
|
+++ src/list.c Sun Apr 29 17:57:52 2007
|
|
@@ -116,7 +116,7 @@ bnr_list_insert (struct bnr_list *list, void *data, fl
|
|
perror("memory allocation error: list_insert() failed");
|
|
return NULL;
|
|
}
|
|
- strcpy (vptr, data);
|
|
+ strlcpy (vptr, data, size);
|
|
}
|
|
else
|
|
{
|