bug-groff
[Top][All Lists]
Advanced

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

[bug #66079] [troff] uninitialized local `s` potentially used in `token:


From: G. Branden Robinson
Subject: [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`
Date: Wed, 21 Aug 2024 17:34:48 -0400 (EDT)

Follow-up Comment #7, bug #66079 (group groff):


commit 57965bfdc322ef244aaff84a1b20e1b1974d411a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Wed Aug 21 07:24:55 2024 -0500

    src/roff/troff/env.cpp: Fix code style nit.
    
    * src/roff/troff/env.cpp (environment::add_char): Declare local variable
      closer to point of use.  It's also a dead store, but demanded by our
      internal API.  (See `node::add_char()` in "node.cpp".)  Prompted by a
      report by Lukas Javorsky involving use of "SAST analyzers {combination
      of coverity, snyk, cppcheck, gcc, clang, shellcheck, unicontrol}".
    
    Also see <https://savannah.gnu.org/bugs/?66079>.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66079>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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