freach / udatetime

Fast RFC3339 compliant Python date-time library
Other
241 stars 27 forks source link

Fix out-of-bounds read #20

Closed iliastsi closed 7 years ago

iliastsi commented 7 years ago

Increase the size of the fractions buffer to 7, to include the terminating null byte ('\0'). Otherwise sscanf() will read past the buffer area with unpredictable results.