diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-01-29 12:56:08 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-01-29 17:27:52 +0100 |
commit | 1cab8aa177b12870c2b05d5d9d029906c85125a9 (patch) | |
tree | c643d9f1a1372256c2ab23db0678251c7553488b /src/db/sysdb_search.c | |
parent | 0eff9978e4b067757660a27c85d0748703bb2ad6 (diff) | |
download | sssd-1cab8aa177b12870c2b05d5d9d029906c85125a9.tar.gz sssd-1cab8aa177b12870c2b05d5d9d029906c85125a9.tar.xz sssd-1cab8aa177b12870c2b05d5d9d029906c85125a9.zip |
sudo: memset tm when converting time attributes
strptime() which is used to parse LDAP time value does not initialize
all fields of tm structure (especially tm_isdst). This results in
random behavior - when the tm is converted into timestamp via mktime(),
the result depends on current value of tm_isdst.
Resolves:
https://fedorahosted.org/sssd/ticket/2213
Diffstat (limited to 'src/db/sysdb_search.c')
0 files changed, 0 insertions, 0 deletions