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
This API asks the callee to return a list of structs. Those structs contains CharSpan instances, but there is nowhere to store the data those CharSpans point to, and no way to know when it's safe to free it. This means the API cannot be implemented without either leaks or use-after-free, or both.
Proposed Solution
Fix the API to be implementable without leaks or security bugs.
Problem
This API asks the callee to return a list of structs. Those structs contains CharSpan instances, but there is nowhere to store the data those CharSpans point to, and no way to know when it's safe to free it. This means the API cannot be implemented without either leaks or use-after-free, or both.
Proposed Solution
Fix the API to be implementable without leaks or security bugs.
@chrisdecenzo @lazarkov @xylophone21
The text was updated successfully, but these errors were encountered: