mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-4946 fix NPE
This commit is contained in:
parent
ce53fca3d3
commit
243fcec030
1 changed files with 3 additions and 1 deletions
|
@ -77,7 +77,9 @@ public class GnuDemangler implements Demangler {
|
||||||
public DemangledObject demangle(MangledContext mangledContext)
|
public DemangledObject demangle(MangledContext mangledContext)
|
||||||
throws DemangledException {
|
throws DemangledException {
|
||||||
DemangledObject demangled = demangleInternal(mangledContext);
|
DemangledObject demangled = demangleInternal(mangledContext);
|
||||||
demangled.setMangledContext(mangledContext);
|
if (demangled != null) {
|
||||||
|
demangled.setMangledContext(mangledContext);
|
||||||
|
}
|
||||||
return demangled;
|
return demangled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue