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
The substring built-in function is not checking the start offset properly. A negative offset or an offset greater than the length of the string result in a panic.
The text was updated successfully, but these errors were encountered:
The bounds checking on the substring function was not checking the
start offset properly. Negative offsets are not supported for now. In
the future we can relax this.
Fixesopen-policy-agent#1235
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
The bounds checking on the substring function was not checking the
start offset properly. Negative offsets are not supported for now. In
the future we can relax this.
Fixes#1235
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
The
substring
built-in function is not checking the start offset properly. A negative offset or an offset greater than the length of the string result in a panic.The text was updated successfully, but these errors were encountered: