Open panacekcz opened 6 years ago
The following code is safe, because the index i can never get past the ')' suffix, so it is always a valid index for s:
i
s
if(s.endsWith(")")) { @IndexFor("s") int i = 0; while (s.charAt(i) == '[') { i++; } char c = s.charAt(i); }
This occurred in plume-lib UtilMDE.arglistFromJvm, but now it seems not to be an issue.
UtilMDE.arglistFromJvm
The following code is safe, because the index
i
can never get past the ')' suffix, so it is always a valid index fors
:This occurred in plume-lib
UtilMDE.arglistFromJvm
, but now it seems not to be an issue.