https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15454

--- Comment #10 from Guy Harris <g...@alum.mit.edu> ---
(In reply to Maksim Salau from comment #9)
> I tried byacc and it works fine with valid input. But if I induce errors I
> get memory leaks, since byacc shipped with Fedora doesn't have support for
> btyacc extensions and thus I'm not allowed to use %destructor directive to
> get rid of memory allocated data.
> 
> So here is the question: does Wireshark require btyacc extensions to be
> enabled?

Our one and only Bison/BYACC parser (wiretap/ascend.y) doesn't require them.

The primary reason for BYACC support is for systems that ship with BYACC but
not Bison, as I think might be the case for some *BSD systems.  The version of
BYACC that ships with a Linux distribution is less relevant than the version
that ships with various *BSDs, as Linux distributions will almost certainly
ship Bison as well.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to