RE: [PATCH v2] module_to_cil: fix use of uninitialized variables

2016-08-03 Thread Roberts, William C
> -Original Message- > From: Steve Lawrence [mailto:slawre...@tresys.com] > Sent: Wednesday, August 3, 2016 2:51 PM > To: Roberts, William C ; selinux@tycho.nsa.gov; > seandroid-l...@tycho.nsa.gov; s...@tycho.nsa.gov > Subject: Re: [PATCH v2] module_to_cil:

Re: [PATCH v2] module_to_cil: fix use of uninitialized variables

2016-08-03 Thread Steve Lawrence
On 08/03/2016 05:42 PM, william.c.robe...@intel.com wrote: > From: William Roberts > > Correct errors like these reported by gcc: > > module_to_cil.c: In function ‘block_to_cil’: > module_to_cil.c:229:20: error: ‘attr_list’ may be used uninitialized in this >

[PATCH v2] module_to_cil: fix use of uninitialized variables

2016-08-03 Thread william . c . roberts
From: William Roberts Correct errors like these reported by gcc: module_to_cil.c: In function ‘block_to_cil’: module_to_cil.c:229:20: error: ‘attr_list’ may be used uninitialized in this function [-Werror=maybe-uninitialized] struct list_node *curr =

RE: [PATCH] module_to_cil: fix possible use of initialized value

2016-08-03 Thread Roberts, William C
> -Original Message- > From: Roberts, William C > Sent: Wednesday, August 3, 2016 2:37 PM > To: selinux@tycho.nsa.gov; seandroid-l...@tycho.nsa.gov; s...@tycho.nsa.gov > Cc: Roberts, William C > Subject: [PATCH] module_to_cil: fix possible use of initialized