mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-4281 - Fixed bug that prevented the tool from going to the correct
program location when opening from a URL
This commit is contained in:
parent
fbdc01c33a
commit
2e2f5e65ec
8 changed files with 72 additions and 38 deletions
|
@ -1911,6 +1911,7 @@ public class BufferMgr {
|
|||
int bufCount = 0;
|
||||
for (int id = 0; id < indexCnt; id++) {
|
||||
monitor.checkCancelled();
|
||||
monitor.setProgress(id);
|
||||
BufferNode node = getCachedBufferNode(id);
|
||||
if (node != null) {
|
||||
// check nod which resides in cache
|
||||
|
@ -1929,6 +1930,8 @@ public class BufferMgr {
|
|||
}
|
||||
}
|
||||
|
||||
monitor.initialize(indexCnt);
|
||||
|
||||
// write/update all non-empty buffers
|
||||
try (OutputBlockStream out = LocalBufferFile.getOutputBlockStream(outFile, bufCount)) {
|
||||
for (int id = 0; id < indexCnt; id++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue