valgrind errors loading UTC
Sept. 5, 2014
2:51 p.m.
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
September 2014
2:20 p.m.
I can't reproduce the valgrind-reported bug on my platform, but there does seem to be a bug there, by code inspection. Can you please try the attached patch on your platform? Thanks.
4242
Age (days ago)
4245
Last active (days ago)
2 comments
2 participants
participants (2)
-
Paul Eggert -
Richter, Jörg