Re: [devel] [PATCH 1/1] log: fix referring to uninitialized variable caused assertion failed [#2546]

2017-08-08 Thread A V Mahesh
Hi Vu, ACK. -AVM On 8/8/2017 3:01 PM, Vu Minh Nguyen wrote: Log application got coredump due to failed assertion in Log agent. The problem was caused by referring to uninitialized variable `bool updated`. Previously, `updated` variable was initialized when the method `FetchAndIncreaseRefCoun

Re: [devel] [PATCH 1/1] log: fix referring to uninitialized variable caused assertion failed [#2546]

2017-08-08 Thread Lennart Lund
Ack /Lennart > -Original Message- > From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] > Sent: den 8 augusti 2017 11:31 > To: mahesh.va...@oracle.com; Lennart Lund ; > Canh Van Truong > Cc: opensaf-devel@lists.sourceforge.net; Vu Minh Nguyen > > Subject: [PATCH 1/1] log: fix refer

[devel] [PATCH 1/1] log: fix referring to uninitialized variable caused assertion failed [#2546]

2017-08-08 Thread Vu Minh Nguyen
Log application got coredump due to failed assertion in Log agent. The problem was caused by referring to uninitialized variable `bool updated`. Previously, `updated` variable was initialized when the method `FetchAndIncreaseRefCounter` or `FetchAndDecreaseRefCounter` was called. The value of `up