bug-recutils
[Top][All Lists]
Advanced

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

[bug-recutils] [bug #52089] exit() in librec


From: Luigi Baldoni
Subject: [bug-recutils] [bug #52089] exit() in librec
Date: Fri, 22 Sep 2017 10:48:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52089>

                 Summary: exit() in librec
                 Project: GNU recutils
            Submitted by: aloysius
            Submitted on: Fri 22 Sep 2017 04:48:53 PM CEST
                Category: librec
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

rpmlint complains about this:


librec1.x86_64: W: shared-lib-calls-exit /usr/lib64/librec.so.1.0.0
address@hidden
librec1.x86_64: W: shared-lib-calls-exit /usr/lib64/librec.so.1.0.0
address@hidden
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.


It could be a false positive, but it seemed proper to report it.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52089>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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