mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GP-4494-dragonmacher-marker-markgin-npe' into patch
This commit is contained in:
@@ -247,6 +247,9 @@ public class MarkerManager implements MarkerService {
|
|||||||
void navigateTo(Navigatable navigatable, Program program, int x, int y, int viewHeight,
|
void navigateTo(Navigatable navigatable, Program program, int x, int y, int viewHeight,
|
||||||
AddressIndexMap addrMap) {
|
AddressIndexMap addrMap) {
|
||||||
MarkerSetCacheEntry entry = markerSetCache.get(program);
|
MarkerSetCacheEntry entry = markerSetCache.get(program);
|
||||||
|
if (entry == null) {
|
||||||
|
return; // this can happen when no program is open
|
||||||
|
}
|
||||||
|
|
||||||
ProgramLocation loc = entry.getProgramLocation(y, viewHeight, addrMap, x);
|
ProgramLocation loc = entry.getProgramLocation(y, viewHeight, addrMap, x);
|
||||||
getGoToService();
|
getGoToService();
|
||||||
|
|||||||
Reference in New Issue
Block a user