Commit 47a8ba2
committed
CA-424473 Fix OpaqueRef:NULL in vm import
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.
Signed-off-by: Changlei Li <changlei.li@cloud.com>1 parent 1492ded commit 47a8ba2
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2138 | 2138 | | |
2139 | 2139 | | |
2140 | 2140 | | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | | - | |
2145 | | - | |
2146 | | - | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
2147 | 2151 | | |
2148 | 2152 | | |
2149 | 2153 | | |
| |||
0 commit comments