[bison 3.7.1.1] bison: src/parse-gram.c:3262: unquote: Assertion `*cp == '"'' failed.

송수환 <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <CALnFw=Uf2MKABdLo3dtadwN4puCt53zuWsZD8ChekTM5w+eWTQ@mail.gmail.com>
Hi, This is Agency for Defense Development (ADD).

We found bison: src/parse-gram.c:3262: unquote: Assertion `*cp == '"'' failed.

We attached the poc file and the log.

To reproduce the bug
1) Compile the bison
2) run the bision ($ bison $PoC)

version: bison (GNU Bison) 3.7.1.1-cb7dc-dirty

Thanks,
bug_report.txt (text/plain, 1.7 KB)
bison_out1/1_Originalslave1/crashes/id:000000,sig:06,src:003238,op:splice,rep:8:1.14: error: invalid character after \-escape: \003
    1 | %require "3.9\R\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
      |              ^
bison_out1/1_Originalslave1/crashes/id:000000,sig:06,src:003238,op:splice,rep:8:1.16-17: error: invalid character after \-escape: R
    1 | %require "3.9\R\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
      |                ^~
bison_out1/1_Originalslave1/crashes/id:000000,sig:06,src:003238,op:splice,rep:8:1.82-83: error: invalid character after \-escape: |
    1 | %require "3.9\R\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
      |                                                                                  ^~
bison_out1/1_Originalslave1/crashes/id:000000,sig:06,src:003238,op:splice,rep:8:1.10-190: error: missing ‘"’ at end of file
    1 | %require "3.9\R\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bison: src/parse-gram.c:3262: unquote: Assertion `*cp == '"'' failed.
[1]    20920 abort      ./program/bison/install_dir/bin/bison
poc (application/octet-stream, 191 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.