[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sysvinit-devel] init.c patchset

From: Michał Kulling
Subject: [sysvinit-devel] init.c patchset
Date: Mon, 10 Feb 2014 01:12:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Hi everyone,

there is patchset for init.c source for several Coverity issues.

1. Add return validation for fscanf() in get_record(), if fscanf() return less then 0, then oops_error was set to -1 and return NULL.

2. Change handler variable for console_open() descriptor from f to ftty.

It's my first patch, so I'm waiting for suggestions or comments :-)

Patch in attachment.

Michal Kulling

Attachment: init.c_sysvinit.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]