From: Rich Felker Date: Mon, 5 Sep 2011 19:39:36 +0000 (-0400) Subject: strptime: fix use of uninitialized dest field in converting integer X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=5989dde3459b2ccd304f89e3e875136e5608b8ff strptime: fix use of uninitialized dest field in converting integer --- diff --git a/src/time/strptime.c b/src/time/strptime.c index d9481d1b..488c08dd 100644 --- a/src/time/strptime.c +++ b/src/time/strptime.c @@ -155,7 +155,7 @@ char *strptime(const char *s, const char *f, struct tm *tm) if (*s == '+') s++; else if (*s == '-') neg=1, s++; if (!isdigit(*s)) return 0; - for (i=0; i