mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 06:27:59 -05:00
GP-0: Fix NPE by returning empty list.
This commit is contained in:
@@ -301,7 +301,7 @@ public class MarkerManager implements MarkerService {
|
||||
List<String> getMarkerTooltipLines(Program program, int y, int x, Address minAddr,
|
||||
Address maxAddr) {
|
||||
MarkerSetCacheEntry entry = markerSetCache.get(program);
|
||||
return entry.getTooltipLines(y, x, minAddr, maxAddr);
|
||||
return entry == null ? List.of() : entry.getTooltipLines(y, x, minAddr, maxAddr);
|
||||
}
|
||||
|
||||
static String getMarkerToolTip(MarkerSetImpl marker, Address a, int x, int y) {
|
||||
|
||||
Reference in New Issue
Block a user