From 5989dde3459b2ccd304f89e3e875136e5608b8ff Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 5 Sep 2011 15:39:36 -0400 Subject: strptime: fix use of uninitialized dest field in converting integer --- src/time/strptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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