]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR31314, chew crashing on use of uninitialized value
authorAlan Modra <amodra@gmail.com>
Mon, 29 Jan 2024 23:08:56 +0000 (09:38 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Jan 2024 23:12:59 +0000 (09:42 +1030)
commite175a2fc60cb9709c4461cdd8596ae05e529d67b
treed1e63b4144bb99a39f4e0609861152f6eee1575e
parent920d9f0b39e9e8e42134c0317e772dbb93cdf8c8
PR31314, chew crashing on use of uninitialized value

The "drop" call in wrap_comment already increments pc.  Defining DOCDD
in proto.str is a warning fix.

PR 31314
* chew.c (wrap_comment): Don't increment pc.
* proto.str (DOCDD): Define.
bfd/doc/chew.c
bfd/doc/proto.str