mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-5216 Corrected FunctionDefinitionDataType.setCallingConvention bug
This commit is contained in:
parent
a968e6701e
commit
59ef363880
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class FunctionDefinitionDataType extends GenericDataType implements Funct
|
|||
|
||||
if (GenericCallingConvention
|
||||
.getGenericCallingConvention(conventionName) == GenericCallingConvention.unknown &&
|
||||
!dataMgr.getKnownCallingConventionNames().contains(name)) {
|
||||
(dataMgr == null || !dataMgr.getKnownCallingConventionNames().contains(name))) {
|
||||
throw new InvalidInputException("Unknown calling convention name: " + conventionName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue