[Top][All Lists]

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

[PATCH] argp-help null pointer and dead code fixes

From: Colin Watson
Subject: [PATCH] argp-help null pointer and dead code fixes
Date: Wed, 6 Aug 2008 20:00:47 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Coverity reported some bugs in man-db which are in fact gnulib bugs. I'd
like to clear these up. This is the most obvious installment, mainly
representing real bugs; I still need to investigate several items which
are essentially false positives and see if it's worth adjusting code to
avoid tripping source code checkers.

2008-08-06  Colin Watson  <address@hidden>

        Merge some glibc changes into lib/argp-help.c.

        * lib/argp-help.c: Include <stdint.h> for uint8_t, required by
        changes below.

        2006-05-09  Ulrich Drepper  <address@hidden>

        * lib/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG
        and DGETTEXT calls.
        (hol_help): Likewise.  [Coverity CID 226, 227]

        * lib/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if
        string is NULL.  [Coverity CID 212]

        * lib/argp-help.c (fill_in_uparams): Handle STATE==NULL in
        dgettext calls. [Coverity CID 204]

        * lib/argp-help.c (uparam_names): Reduce size.  Avoid relative
        relocations.  Moved to read-only segment.
        (fill_in_uparams): Update for new layout.

        * lib/argp-help.c (hol_entry_help): Remove some dead code
        [Coverity CID 200].

        2007-03-15  Jakub Jelinek  <address@hidden>

        * lib/argp-help.c (filter_doc): Don't crash if argp is NULL.


Colin Watson                                       address@hidden

Attachment: gnulib.argp-help-coverity.diff
Description: Text Data

reply via email to

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