From dff10c7f70d539c431a1eba9ab5e076d8b0f5c8e Mon Sep 17 00:00:00 2001 From: itojun Date: Mon, 17 Jan 2000 06:24:23 +0000 Subject: s/sprintf/snprintf/. there seem to be couple of unsafe use of strcat and strcpy - we should bring in strl{cat,cpy}. --- machdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'machdep.h') diff --git a/machdep.h b/machdep.h index f6481035..6328c826 100644 --- a/machdep.h +++ b/machdep.h @@ -18,10 +18,10 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/machdep.h,v 1.1 1999-10-07 23:47:10 mcr Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/machdep.h,v 1.2 2000-01-17 06:24:24 itojun Exp $ (LBL) */ #ifndef tcpdump_machdep_h #define tcpdump_machdep_h -int abort_on_misalignment(char *); +int abort_on_misalignment(char *, size_t); #endif -- cgit v1.2.1