mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 22:38:41 +00:00
fix off by one in GSI parser
This commit is contained in:
+1
-1
@@ -543,7 +543,7 @@ pdb_gsi_from_data(Arena *arena, String8 data){
|
|||||||
bucket_offs[j] = hash_record_ptr->symbol_off - 1;
|
bucket_offs[j] = hash_record_ptr->symbol_off - 1;
|
||||||
hash_record_ptr -= 1;
|
hash_record_ptr -= 1;
|
||||||
}
|
}
|
||||||
PDB_GsiBucket *bucket = &result->buckets[i - 1];
|
PDB_GsiBucket *bucket = &result->buckets[i];
|
||||||
bucket->count = num_steps;
|
bucket->count = num_steps;
|
||||||
bucket->offs = bucket_offs;
|
bucket->offs = bucket_offs;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user