mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
agent: Fix SEGV when debuging for cache enabled.
* agent/cache.c (agent_get_cache): Avoid dereferencing NULL. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
f4166209e3
commit
33cb1655f1
@ -476,7 +476,7 @@ agent_get_cache (ctrl_t ctrl, const char *key, cache_mode_t cache_mode)
|
||||
|
||||
if (DBG_CACHE)
|
||||
log_debug ("agent_get_cache '%s'.%d (mode %d)%s ...\n",
|
||||
key, ctrl->restricted, cache_mode,
|
||||
key, restricted, cache_mode,
|
||||
last_stored? " (stored cache key)":"");
|
||||
housekeeping ();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user