bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] libutil/srtlimcpy.c


From: Hideki IWAMOTO
Subject: [PATCH] libutil/srtlimcpy.c
Date: Fri, 14 Mar 2003 00:11:24 +0900



 * libutil/strlimcpy.c (strlimcpy): Corrected spelling of `destination'.
      Changed error message so that source string might be displayed from the 
head.

---------------------------------------
>grep strlimcpy\( tst.c
        strlimcpy(dest, "source", 3);

[current cvs version]
>./tst 
./tst: buffer overflow. strlimcpy(dist, 'rce', 3).

[patched version]
>./tst
./tst: buffer overflow. strlimcpy(dest, 'source', 3).
---------------------------------------

----
Hideki IWAMOTO  address@hidden

Attachment: libutil-strlimcpy.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]