[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] apparmor: Fix uninitalized variable warning in virt-aa-helper
- From: Matthias Bolte <matthias bolte googlemail com>
- To: Jamie Strandboge <jamie strandboge com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] apparmor: Fix uninitalized variable warning in virt-aa-helper
- Date: Tue, 10 May 2011 08:17:29 +0200
2011/5/8 Jamie Strandboge <jamie strandboge com>:
> On Sat, 7 May 2011 13:13:41 +0200, Matthias Bolte
> <matthias bolte googlemail com> wrote:
>> ---
>> src/security/virt-aa-helper.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/security/virt-aa-helper.c
> b/src/security/virt-aa-helper.c
>> index a4e8549..e481095 100644
>> --- a/src/security/virt-aa-helper.c
>> +++ b/src/security/virt-aa-helper.c
>> @@ -245,7 +245,7 @@ update_include_file(const char *include_file, const
>> char *included_files,
>> bool append)
>> {
>> int rc = -1;
>> - int plen, flen;
>> + int plen, flen = 0;
>> int fd;
>> char *pcontent = NULL;
>> char *existing = NULL;
>
> ACK
>
Thanks, pushed.
Matthias
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]