[tz] valgrind errors loading UTC

Richter, Jörg Joerg.Richter at pdv-FS.de
Fri Sep 5 14:51:32 UTC 2014


When loading ‚UTC‘ the function tzload seems to use an uninitialized value here:

localtime.c:574:
  for (i = 0; i < sp->typecnt; ++i)
    if (sp->types[i] == 0)             // <- sp->types[0] is uninitialized (sp->typecnt is 1)
      break;

It might be a user error on my side. But I am unable to spot it.
Note that the UTC file was generated with an older version.

This is with tzcode2014g

- Jörg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20140905/1f1b9410/attachment.html>


More information about the tz mailing list