Commit 6f5a6c0
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 c3e54bc commit 6f5a6c0
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