ciniparser: Add a check that len remains within bounds.
If the line is made solely of whitespaces, they get removed and we end up with len set to -1. Therefore we need an additional check to avoid dereferencing line[-1].
Showing
Please register or sign in to comment