Re: [devel] AMF static code analysis regression in 4.2.4 and 4.3.1

2013-08-05 Thread Hans Feldt
2013 20:16 To: opensaf-devel@lists.sourceforge.net Cc: Nagendra Kumar; Hans Feldt; praveen malviya; UABHANO Subject: Re: [devel] AMF static code analysis regression in 4.2.4 and 4.3.1 I assume the side effect that modifies the variable i_su-list_of_susi in the loop conditional happens

Re: [devel] AMF static code analysis regression in 4.2.4 and 4.3.1

2013-07-30 Thread Anders Widell
code analysis regression in 4.2.4 and 4.3.1 I assume the side effect that modifies the variable i_su-list_of_susi in the loop conditional happens at the following lines in the code you sent: /* now delete it from the SU list */ if (p_su_si == NULL) { susi-su

[devel] AMF static code analysis regression in 4.2.4 and 4.3.1

2013-07-29 Thread Anders Widell
Hi! I ran some static code analysis on the release candidates for OpenSAF 4.2.4 and 4.3.1. I got a few regressions towards 4.2.3 and 4.3.0, and I need your help to analyze the following in avd_sgproc.c. The warning says that i_su-list_of_susi is used after free(). It is freed by