* [Cluster-devel] Re: [PATCH] dlm: fix uninitialized variable for search_rsb_list callers [not found] <1214845154-4978-1-git-send-email-bhalevy@panasas.com> @ 2008-06-30 17:01 ` David Teigland 0 siblings, 0 replies; only message in thread From: David Teigland @ 2008-06-30 17:01 UTC (permalink / raw) To: cluster-devel.redhat.com On Mon, Jun 30, 2008 at 07:59:14PM +0300, Benny Halevy wrote: > gcc 4.3.0 correctly emits the following warning. > search_rsb_list does not *r_ret if no dlm_rsb is found > and _search_rsb may pass the uninitialized value upstream > on the error path when both calls to search_rsb_list > return non-zero error. > > The fix sets *r_ret to NULL on search_rsb_list's not-found path. Added to dlm.git. Thanks, Dave ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-30 17:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1214845154-4978-1-git-send-email-bhalevy@panasas.com>
2008-06-30 17:01 ` [Cluster-devel] Re: [PATCH] dlm: fix uninitialized variable for search_rsb_list callers David Teigland
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).