Commit 3384bc4
committed
wasi_nn_openvino.c: remove broken xml check
`xml.buf[xml.size]` check is broken because it accesses past
the end of the buffer.
`xml.buf[xml.size-1]` check is broken because an xml file
normally dosen't contain NUL.
anyway, openvino doesn't seem to care the NUL termination.1 parent 0343aaf commit 3384bc4
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | 228 | | |
235 | 229 | | |
236 | 230 | | |
| |||
0 commit comments