Commit bd2e228
committed
Fix ce-inline crashing when no debuginfo is provided
Previously, if ce-inline were called without providing a debuginfo
(elf_path) to it, the program would crash as result of attempting
to build a string from nullptr. This is because when elf_path is
null, the resulting vector should be empty.
Signed-off-by: Giuliano Belinassi <gbelinassi@suse.de>1 parent ac81bbb commit bd2e228
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments