From 0beba6441cc34cb1fb7c0350882e3ae256b5309d Mon Sep 17 00:00:00 2001 From: kcwu Date: Sun, 6 Feb 2005 08:22:08 +0000 Subject: replace strstr_lower(), which cause buffer overflow with strcasestr() git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2474 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/proto.h') diff --git a/include/proto.h b/include/proto.h index 4678b40a..738c9f0f 100644 --- a/include/proto.h +++ b/include/proto.h @@ -539,7 +539,6 @@ char *Cdate(time4_t *clock); void sethomefile(char *buf, const char *userid, const char *fname); int log_file(char *fn, int flag, const char *fmt,...); void str_lower(char *t, char *s); -void *strstr_lower(char *str, char *tag); int cursor_key(int row, int column); int search_num(int ch, int max); void setuserfile(char *buf, const char *fname); -- cgit v1.2.3