hrev44519 adds 1 changeset to branch 'master' old head: e8eb40f7777e595c44f7148d072fb542c7b49ffa new head: 15ed6a1e56f3c1a61c8aff7b310a0665f97e1c95 ---------------------------------------------------------------------------- 15ed6a1: CID 609387: Uninitialized pointer access. Fixes a crash I just ran into on x86_64, only appeared when I built with optimization disabled. [ Alex Smith <alex@xxxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev44519 Commit: 15ed6a1e56f3c1a61c8aff7b310a0665f97e1c95 URL: http://cgit.haiku-os.org/haiku/commit/?id=15ed6a1 Author: Alex Smith <alex@xxxxxxxxxxxxxxxx> Date: Sun Aug 12 11:40:18 2012 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 1 deletion(-) src/libs/compat/freebsd_network/callout.cpp | 3 ++- ---------------------------------------------------------------------------- diff --git a/src/libs/compat/freebsd_network/callout.cpp b/src/libs/compat/freebsd_network/callout.cpp index da06a5b..c80938b 100644 --- a/src/libs/compat/freebsd_network/callout.cpp +++ b/src/libs/compat/freebsd_network/callout.cpp @@ -45,8 +45,9 @@ callout_thread(void* /*data*/) // scan timers for new timeout and/or execute a timer mutex_lock(&sLock); + struct callout* c = NULL; while (true) { - struct callout* c = (callout*)list_get_next_item(&sTimers, c); + c = (callout*)list_get_next_item(&sTimers, c); if (c == NULL) break;