openbsd-ports/sysutils/radmind/patches/patch-llist_c
sturm a3134d3b4e Initial import of radmind 1.3.0
A suite of Unix command-line tools and a server designed to remotely 
administer the file systems of multiple Unix machines.

At its core, radmind operates as a tripwire. It is able to detect 
changes to any managed filesystem object, e.g. files, directories, 
links, etc. However, radmind goes further than just integrity 
checking: once a change is detected, radmind can optionally reverse 
the change.

WWW: http://rsug.itd.umich.edu/software/radmind/

from William Yodlowsky <bsd at openbsd.rutgers.edu>
2004-06-26 19:00:48 +00:00

13 lines
403 B
Plaintext

$OpenBSD: patch-llist_c,v 1.1.1.1 2004/06/26 19:00:48 sturm Exp $
--- llist.c.orig 2004-02-11 15:27:31.000000000 -0500
+++ llist.c 2004-06-08 15:52:01.000000000 -0400
@@ -27,7 +27,7 @@ ll_allocate( char *name )
}
/* copy info into new item */
- strcpy( new->ll_name, name );
+ (void)strlcpy( new->ll_name, name, sizeof( new->ll_name ) );
new->ll_next = NULL;
return new;