]> sourceware.org Git - libabigail.git/commit
Bug 29857 - Don't pop comparison operands that haven't been pushed
authorDodji Seketeli <dodji@seketeli.org>
Mon, 19 Dec 2022 13:52:05 +0000 (14:52 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 19 Dec 2022 16:52:10 +0000 (17:52 +0100)
commit10dd604e1813a70f0188bcd7492a46263871f33e
tree996da0efb029de5146152cb7c3e609ed0349c86e
parentfd821dd4db152a455f0d10d3e39ab6fc99fc007d
Bug 29857 - Don't pop comparison operands that haven't been pushed

While looking at bug
https://sourceware.org/bugzilla/show_bug.cgi?id=29857, I noticed a
crash that is happening due to the fact that the equal overload for
classes tries pop comparison operands that haven't been pushed to the
stack of comparison operands.  Oops.  Fixed thus.

* src/abg-ir.cc (equals): In the overload for class_or_union,
don't try to pop, operands that haven't been pushed.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-ir.cc
This page took 0.031389 seconds and 5 git commands to generate.