[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/
signature.asc
Description: PGP signature
- [bug #66079] [troff] Uninitialized variable used within add_char function in roff/troff/input.cpp, (continued)
- [bug #66079] [troff] Uninitialized variable used within add_char function in roff/troff/input.cpp, Lukas Javorsky, 2024/08/13
- [bug #66079] [troff] Uninitialized variable used within add_char function in roff/troff/input.cpp, Lukas Javorsky, 2024/08/13
- [bug #66079] [troff] uninitialized local `s` used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/14
- [bug #66079] [troff] uninitialized local `s` used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/14
- [bug #66079] [troff] uninitialized local `s` used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/14
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/14
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/15
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`, Lukas Javorsky, 2024/08/21
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/21
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`, G. Branden Robinson, 2024/08/21
- [bug #66079] [troff] uninitialized local `s` potentially used in `token::add_to_zero_width_node_list()`,
G. Branden Robinson <=