diff options
author | Stef Walter <stefw@gnome.org> | 2015-10-19 11:34:44 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2015-10-19 11:36:42 +0200 |
commit | 66a360bfeb5e2a5fb12323b03b9c7e3844a8e159 (patch) | |
tree | 0b9edc13d9468f239399e1483238e0451617b8f4 /egg | |
parent | e53af4d55052b879581abf6af66b8a067dfb86df (diff) | |
download | gnome-keyring-66a360bfeb5e2a5fb12323b03b9c7e3844a8e159.tar.gz |
egg: Fix bad precondation checking timegm() result
https://bugs.freedesktop.org/show_bug.cgi?id=92383
Diffstat (limited to 'egg')
-rw-r--r-- | egg/egg-asn1x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c index 197ab375..b2bc7614 100644 --- a/egg/egg-asn1x.c +++ b/egg/egg-asn1x.c @@ -2219,7 +2219,7 @@ anode_read_time (GNode *node, /* Convert to seconds since epoch */ } else { *value = timegm (when); - g_return_val_if_fail (*time >= 0, FALSE); + g_return_val_if_fail (*value >= 0, FALSE); *value += offset; } |