mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 11:43:05 +08:00
GP-398: Fixing NullPointerException when loading older kernelcaches
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ public class MachoPrelinkProgramBuilder extends MachoProgramBuilder {
|
|||||||
*/
|
*/
|
||||||
public PrelinkMachoInfo(ByteProvider provider, long offset, Address headerAddr,
|
public PrelinkMachoInfo(ByteProvider provider, long offset, Address headerAddr,
|
||||||
PrelinkMap prelink) throws Exception {
|
PrelinkMap prelink) throws Exception {
|
||||||
this(provider, offset, headerAddr, (String) null);
|
this(provider, offset, headerAddr, "");
|
||||||
|
|
||||||
if (prelink != null) {
|
if (prelink != null) {
|
||||||
String path = prelink.getPrelinkBundlePath();
|
String path = prelink.getPrelinkBundlePath();
|
||||||
|
|||||||
Reference in New Issue
Block a user