mirror of
https://codeberg.org/1414codeforge/ubgpsuite.git
synced 2025-06-05 21:29:11 +02:00
[bgp/vm] Drop vm->isRunning and other metadata, Bgp_VmExec() could leave the VM in an inconsistent state on longjmp(), causing troubles
This commit is contained in:
@ -241,7 +241,6 @@ struct Bgpvm {
|
||||
Uint16 nk; ///< count of constants (K) available in `k`
|
||||
Uint8 nfuncs; ///< count of functions (FN) available in `funcs`
|
||||
Boolean8 setupFailed; ///< whether a `Bgp_VmEmit()` or `Bgp_VmPermAlloc()` on this VM ever failed.
|
||||
Boolean8 isRunning; ///< whether the VM is being executed
|
||||
BgpvmRet errCode; ///< whether the VM encountered an error
|
||||
Uint32 hLowMark; ///< VM heap low memory mark
|
||||
Uint32 hHighMark; ///< VM heap high memory mark
|
||||
|
Reference in New Issue
Block a user