Commit 5411d80
authored
pkg/symbolizer: Fix parser handling of small hex values
The parser in symbolizer presently breaks out of the for loop if it receives a hex value, to indicate it has reached the next PC, or the sentinel.
The condition for breaking the loop is:
if len(ln) > 3 && ln[0] == '0' && ln[1] == 'x', this does not catch 0xc, for example
len(ln) >= 3 && ln[0] == '0' && ln[1] == 'x' is correct for such cases.
Fixes #62901 parent 1804e95 commit 5411d80
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments