]> sourceware.org Git - libabigail.git/commit
location:expand() shouldn't crash when no location manager available
authorDodji Seketeli <dodji@redhat.com>
Mon, 7 Jun 2021 12:10:56 +0000 (14:10 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 9 Jun 2021 16:20:53 +0000 (18:20 +0200)
commitf7e6ce316013850274c956ea51a23d742c42c6f8
tree04e983ab0391691877b2954a78d2614af3864485
parentd1b4247c163a84cb9d059059589d306a61bf9e3c
location:expand() shouldn't crash when no location manager available

While debugging, I noticed that trying to expand location not yet
associated with any location manager would crash.

This patch fixes that.

* src/abg-ir.cc (location::expand): When no location manager is
present, just expand to an empty location.

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