Commit 3589dc2
authored
### Rationale for this change
Fix an undefined behavior.
### What changes are included in this PR?
It fixes the undefined behavior by delaying the span construction.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #50010
Authored-by: Zehua Zou <zehuazou2000@gmail.com>
Signed-off-by: Gang Wu <ustcwg@gmail.com>
1 parent 52a51ea commit 3589dc2
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1807 | 1807 | | |
1808 | 1808 | | |
1809 | 1809 | | |
1810 | | - | |
1811 | | - | |
| 1810 | + | |
| 1811 | + | |
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
1815 | 1815 | | |
1816 | | - | |
| 1816 | + | |
| 1817 | + | |
1817 | 1818 | | |
1818 | 1819 | | |
1819 | | - | |
1820 | | - | |
| 1820 | + | |
1821 | 1821 | | |
1822 | | - | |
1823 | | - | |
| 1822 | + | |
1824 | 1823 | | |
1825 | 1824 | | |
1826 | 1825 | | |
| |||
0 commit comments