sysvinit-devel
[Top][All Lists]
Advanced

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

[sysvinit-devel] address@hidden: New Defects reported by Coverity Scan f


From: Dr. Werner Fink
Subject: [sysvinit-devel] address@hidden: New Defects reported by Coverity Scan for sysvinit]
Date: Wed, 12 Feb 2014 09:21:45 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi to all,

the included mail is what I've seen this morning (before my first cup of 
coffee:)
... there is no variable "ftty" there. Ißve no idea where this variable should
originate from.  Also I've not enabled coverity.com to use my github account.

----- Forwarded message from address@hidden -----
Return-Path: <address@hidden>
Received: from scanrelay.coverity.com (scanrelay.coverity.com [209.249.196.67]) 
by mx1.suse.de
        (Postfix) with ESMTP id AED03ABA0 for <address@hidden>; Tue, 11 Feb 
2014 20:22:22 +0100
        (CET)
Received: from localhost.localdomain ([208.69.177.215]) by 
scanrelay.coverity.com with Microsoft
        SMTPSVC(7.5.7601.17514);  Tue, 11 Feb 2014 11:22:33 -0800
Date: Tue, 11 Feb 2014 11:22:20 -0800
From: address@hidden
Message-ID: <address@hidden>
Subject: New Defects reported by Coverity Scan for sysvinit
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Feb 2014 19:22:33.0229 (UTC) 
FILETIME=[9D0C93D0:01CF275E]
Content-Length: 1228
Lines: 39


Hi,


Please find the latest report on new defect(s) introduced to sysvinit found 
with Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1170839:  Resource leak  (RESOURCE_LEAK)
/src/init.c: 1183 in spawn()


________________________________________________________________________________________________________
*** CID 1170839:  Resource leak  (RESOURCE_LEAK)
/src/init.c: 1183 in spawn()
1177                                    exit(0);
1178                            }
1179     
1180                            /* Set ioctl settings to default ones */
1181                            console_stty();
1182     
>>>     CID 1170839:  Resource leak  (RESOURCE_LEAK)
>>>     Handle variable "ftty" going out of scope leaks the handle.
1183                    } else { /* parent */
1184                            int fd;
1185                            setsid();
1186                            if ((fd = console_open(O_RDWR|O_NOCTTY)) < 0) {
1187                                    initlog(L_VB, "open(%s): %s", 
console_dev,
1188                                            strerror(errno));


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
http://scan.coverity.com/projects/1267?tab=Overview

To unsubscribe from the email notification for new defects, 
http://scan5.coverity.com/cgi-bin/unsubscribe.py



----- End forwarded message -----

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: pgp846jDcOgMS.pgp
Description: PGP signature


reply via email to

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