summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1940ec7)
raw | patch | inline | side by side (parent: 1940ec7)
author | Paul Sadauskas <psadauskas@gmail.com> | |
Wed, 8 Jul 2009 08:49:23 +0000 (10:49 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 8 Jul 2009 08:49:23 +0000 (10:49 +0200) |
tokkee on IRC & I think we found a bug with utils_cache.c. The uc_check_timeout
function is missing a continue after the "uninteresting" service check, that
causes a key to be null.
This probably caused an assertion failure in cache_compare as reported by
Mariusz.
function is missing a continue after the "uninteresting" service check, that
causes a key to be null.
This probably caused an assertion failure in cache_compare as reported by
Mariusz.
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 3cfe3a12c4965c915d94ca92d0cd312a355bdd0e..2f70ffe8d1f6d99dd3bf605ec922d22d68c307d5 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
sfree (keys[i]);
sfree (key);
cache_free (ce);
+ continue;
}
/* If we get here, the value is ``interesting''. Query the record from the