Menu ▾ ▴

#1007 shlib-calls-exit canon.so

closed-fixed
None
5
2015-02-05
2015-01-29
hpfn
No

Hi,

Lintian alert series:

X: libgphoto2-6: shlib-calls-exit usr/lib/i386-linux-gnu/libgphoto2/2.5.7/canon.so

I reproduce here what is here[0]. Tag experimental with Certainty: possible

"
The listed shared library calls the C library exit() or _exit() functions.

In the case of an error, the library should instead return an appropriate error code to the calling program which can then determine how to handle the error, including performing any required clean-up.

In most cases, removing the call should be discussed with upstream, particularly as it may produce an ABI change.

Severity: wishlist, Certainty: possible

Check: shared-libs, Type: binary, udeb

This tag is marked experimental, which means that the code that generates it is not as well-tested as the rest of Lintian and might still give surprising results. Feel free to ignore experimental tags that do not seem to make sense, though of course bug reports are always welcome.

"

[0] - https://lintian.debian.org/tags/shlib-calls-exit.html

regards,
Herbert

Discussion

  • Marcus Meissner

    Marcus Meissner - 2015-02-05

    there were some exit(1) in the serial code.

    i replaced them with different error handling

    thanks!

     
  • Marcus Meissner

    Marcus Meissner - 2015-02-05
    • status: open --> closed-fixed
    • assigned_to: Marcus Meissner
     

Log in to post a comment.