Commit bc354a9
Avoid subtracting
`it.control()` is pointing to `kSooControl` global buffer. The result of subtraction is not used, but that causes UBSAN pointer overflow error.
PiperOrigin-RevId: 758683515
Change-Id: Ifa9e3f7f2da3de371dd65f3e1d42c77c20aece59it.control() and table.control() in single element table during erase.1 parent 472365f commit bc354a9
2 files changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
531 | | - | |
| 529 | + | |
| 530 | + | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
| |||
538 | 537 | | |
539 | 538 | | |
540 | 539 | | |
| 540 | + | |
| 541 | + | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
1850 | | - | |
| 1850 | + | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | 1853 | | |
| |||
3140 | 3140 | | |
3141 | 3141 | | |
3142 | 3142 | | |
3143 | | - | |
3144 | | - | |
| 3143 | + | |
3145 | 3144 | | |
3146 | 3145 | | |
3147 | 3146 | | |
| |||
3691 | 3690 | | |
3692 | 3691 | | |
3693 | 3692 | | |
3694 | | - | |
3695 | | - | |
| 3693 | + | |
3696 | 3694 | | |
3697 | 3695 | | |
3698 | 3696 | | |
| |||
0 commit comments