Your message dated Mon, 26 Nov 2018 02:43:54 +0000
with message-id <[email protected]>
and subject line Bug#851051: fixed in bison 2:3.2.2.dfsg-1
has caused the Debian Bug report #851051,
regarding bison: using YYERROR in empty rule leads to segmentation fault
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
851051: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851051
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bison
Version: 2:3.0.4.dfsg-1
Severity: normal
Tags: upstream

Hi,

if an empty rule matches, but calls YYERROR, the parser catches a
segmentation fault in the line

    yyerror_range[1].location = yystack_[yylen - 1].location;

inside the error handling, because yylen is 0, (yylen-1) underflows as a 32
bit unsigned value, so the array is accessed at yystack_[4294967295].

On 32 bit system, there is still an invalid access, but this is usually not
detected.

   Simon

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bison depends on:
ii  libbison-dev  2:3.0.4.dfsg-1
ii  libc6         2.24-7
ii  m4            1.4.17-5

bison recommends no packages.

Versions of packages bison suggests:
pn  bison-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: bison
Source-Version: 2:3.2.2.dfsg-1

We believe that the bug you reported is fixed in the latest version of
bison, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chuan-kai Lin <[email protected]> (supplier of updated bison package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 25 Nov 2018 17:32:05 -0800
Source: bison
Binary: bison libbison-dev
Architecture: source amd64
Version: 2:3.2.2.dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Chuan-kai Lin <[email protected]>
Changed-By: Chuan-kai Lin <[email protected]>
Description:
 bison      - YACC-compatible parser generator
 libbison-dev - YACC-compatible parser generator - development library
Closes: 851051 901442
Changes:
 bison (2:3.2.2.dfsg-1) unstable; urgency=medium
 .
   * New upstream version. (Closes: #851051, #901442)
   * Update to debhelper v11.
Checksums-Sha1:
 2e2069ba739752963c791a652141c2abaadb7a7e 1847 bison_3.2.2.dfsg-1.dsc
 8c54839ef31113802dd146547b9d4d163e9ded40 1849552 bison_3.2.2.dfsg.orig.tar.xz
 3d24c2afe3f18d13931e92cbceb6f589e3bd06f2 9000 bison_3.2.2.dfsg-1.debian.tar.xz
 744117215a73dbe8406a7703f8deef0ca691a687 591440 
bison-dbgsym_3.2.2.dfsg-1_amd64.deb
 7bc86f38448b9376c4656159684a8c8c965f04cf 5861 
bison_3.2.2.dfsg-1_amd64.buildinfo
 e4b559627b0fcd3781b555e0b2ccb39bfb75e1cb 842912 bison_3.2.2.dfsg-1_amd64.deb
 d895598ece7654573d9dcb0ef307b04a799b363a 474820 
libbison-dev_3.2.2.dfsg-1_amd64.deb
Checksums-Sha256:
 ce099742d09cd44c4a9a732953e6c68d723045a00d657632d5f26e8df6d27999 1847 
bison_3.2.2.dfsg-1.dsc
 db629d2ac2b80f38483eed4e0507f6dae064a5e97c16568367e669506d9dcf4b 1849552 
bison_3.2.2.dfsg.orig.tar.xz
 8d1f2d8a66c69d9d1e6d81064fe378261439019242557b4d458f997dc6ed03a5 9000 
bison_3.2.2.dfsg-1.debian.tar.xz
 f677c9aa5d9f44c64ecaa6632b7879c4eaedaa251466a649f1cd71462a3a9095 591440 
bison-dbgsym_3.2.2.dfsg-1_amd64.deb
 e9c9bc4742850c1472675ffdff248b59c0b451458cee6ac5a9fd2aa4e451c75d 5861 
bison_3.2.2.dfsg-1_amd64.buildinfo
 0e783a708fa740aa2322d3f446165e78feb4df5416227ea143646f6062ad63ec 842912 
bison_3.2.2.dfsg-1_amd64.deb
 80ca462d094bbfbae96a460b53f7508719281ab243547558c4b5d1bad964ec12 474820 
libbison-dev_3.2.2.dfsg-1_amd64.deb
Files:
 fbeb99337d4e08796ebf5260a8d90403 1847 devel optional bison_3.2.2.dfsg-1.dsc
 2ac40a006ddbd71df62d5e716dc58f3b 1849552 devel optional 
bison_3.2.2.dfsg.orig.tar.xz
 caca07e673a870b6795306d0cdd3c049 9000 devel optional 
bison_3.2.2.dfsg-1.debian.tar.xz
 7f6866b8edf19817e4432de5274610f0 591440 debug optional 
bison-dbgsym_3.2.2.dfsg-1_amd64.deb
 e93cf1430dbb315b5c958462c40bee8e 5861 devel optional 
bison_3.2.2.dfsg-1_amd64.buildinfo
 f6079a1a3c9f72af55cce88c97f9d115 842912 devel optional 
bison_3.2.2.dfsg-1_amd64.deb
 1450471f561b506e6ee74a398af6d187 474820 libdevel optional 
libbison-dev_3.2.2.dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEpjo/UW6i/KKi+2ONAbOplSquRxMFAlv7UZIRHGNrbGluQGRl
Ymlhbi5vcmcACgkQAbOplSquRxMheQ/+KBCfZi4U92jW6z1b91z7jMbc+4UqrHpt
4WYk8eB5qZtwA5GZ/lsT/6Zm+Nj3OmBwMrb6rXo2Q/xcFpQKxTER/CelK/UVJO1o
HPTaCTowktaZ1ACK84h7j98+W6wz1Eev+0aDEVQufRLPT8LIRMuYuPlhBJ0BUm30
tdIlkQHt/9EOSYosyGOT9tBIF305WYN4772U4r1hsSfQj9yDZHnzv6xcFGvpPJBL
79GR3TUk4XhmyDS03rcw3xhDKJ+fliV6zJ1hTkyAZf0dtZpfuu+VHtCoCdjw6IzO
Q23ZjEIfQI+ZqO0I6tVp/gyzby8E77eQwrAuynPic50K8yQti7klYO3I+9zp5A7E
g4oVCYgmk7Gk7is9t4kdTC2EB7D4KiQWBx5iLFHTXQqzKRqbPCbTo4l9Jev+tx/r
WMW41fX4v1qLio3ESPLXeqluEPWwE8+jgp/1PpUTRvNSMc/gWKYUYStZ+yIqyr2A
rpZGzk1EBDGb85tvWAJGr21qZacEOwmE4gz8vdK63OeW2WIRWkpMHMYqhfaKrp6E
BA5P/S8bDjNAvRQDuPOGDZdxjvIsai9yR4C/1xnEEG3fe1WH/6uEw8/HuDPJskoR
XM6gERdWrdfibjbJ99WzCkwzpsO1eAsV/dO40xpIVDa157b+rTI7+VGhVorIGCb0
GRrRegdXUCo=
=es8k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to