HowardHinnant / date

A date and time library based on the C++11/14/17 <chrono> header
Other
3.08k stars 670 forks source link

Conditional jump or move depends on uninitialised value(s) #697

Closed crawlserv closed 2 years ago

crawlserv commented 2 years ago

Even after fixing #215, valgrind still warns that a conditional jump or move depends on uninitialized value(s) whenever long double S is used in date.h. I'd propose to initialize it to zero before passing it to read().

offa commented 2 years ago

@HowardHinnant could you consider a new release containing this fix?