Commit 9c564e1
authored
CA-424473 Fix OpaqueRef:NULL in vm import (#6933)
The `check_references` function needs to skip null reference before
calling `get_snapshot`, or it will try to fetch a database record for
Ref.null, leading to an exception.1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2141 | 2141 | | |
2142 | 2142 | | |
2143 | 2143 | | |
2144 | | - | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
2149 | | - | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
2150 | 2154 | | |
2151 | 2155 | | |
2152 | 2156 | | |
| |||
0 commit comments