You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[L0] Refcnt Parent Buffer on Sub Buffer Create and die on use of buffer after free
- Refcnt the Parent Buffer on Sub Buffer Creation to avoid free until
after all sub buffers are released.
- Avoid use after free of buffers by tracking if a buffer has already
been called with free() and verify that the parent of a sub buffer has
not already been released before attempting to get ze handles from the
parent.
- In either use after free case, die aborts before the memory is accessed.
Signed-off-by: Neil R. Spruit <[email protected]>
0 commit comments