summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-17 01:09:36 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-17 01:09:36 +0000
commit53b0a7a28aa06e69bdc27c2d51e7f1d9c917c866 (patch)
tree291a1323facfbc4a8076ab50d808786fe64e7772 /src/misc.c
parent49bb0a3ec1d9b781ec1d8a9fa21934979ddfc6a9 (diff)
xc/extras/Xpm/lib/Attrib.c xc/extras/Xpm/lib/CrBufFrI.c xc/extras/Xpm/lib/CrDatFrI.c xc/extras/Xpm/lib/RdFToBuf.c xc/extras/Xpm/lib/RdFToI.c xc/extras/Xpm/lib/WrFFrBuf.c xc/extras/Xpm/lib/WrFFrI.c xc/extras/Xpm/lib/XpmI.h xc/extras/Xpm/lib/create.c xc/extras/Xpm/lib/data.c xc/extras/Xpm/lib/hashtab.c xc/extras/Xpm/lib/misc.c xc/extras/Xpm/lib/parse.c //bugs.freedesktop.org/show_bug.cgi?id=1920) attachment #1514 (https://bugs.freedesktop.org/attachment.cgi?id=1514): libXpm security fixes for CAN-2004-0914. Patch by Thomas Biege.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 7a9ecb5..ce80d54 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -44,7 +44,7 @@ xpmstrdup(s1)
char *s1;
{
char *s2;
- int l = strlen(s1) + 1;
+ size_t l = strlen(s1) + 1;
if (s2 = (char *) XpmMalloc(l))
strcpy(s2, s1);