Skip to content

Commit

Permalink
Merge pull request #420 from LLNL/rc2main-bug-mcm86-16sep24-fix-fsani…
Browse files Browse the repository at this point in the history
…tize

Merge pull request #419 from LLNL/bug-mcm86-16sep24-fix-fsanitize
  • Loading branch information
markcmiller86 authored Sep 17, 2024
2 parents db6358c + 778ae27 commit 14313dc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pdb/pdpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -1842,13 +1842,11 @@ _PD_parse (void) {
3, 0, 0, 7, 3, 5, 0, 12, 14, 17,
18, 10, 11, 2, 9, 3, 3, 13, 15, 3, 16};

static int negative_one = -1;

/*
* Initialize externals - _PD_parse may be called more than once.
*/
FRAME(pv) = &FRAME(v)[negative_one];
FRAME(ps) = &FRAME(s)[negative_one];
FRAME(pv) = &FRAME(v)[0] - 1;
FRAME(ps) = &FRAME(s)[0] - 1;

FRAME(state) = 0;
FRAME(tmp) = 0;
Expand Down

0 comments on commit 14313dc

Please sign in to comment.