https://bugs.freedesktop.org/show_bug.cgi?id=62090
--- Comment #9 from Julien Nabet <[email protected]> --- Also, I think this block should be common (before the if bCompatibility) sal_Int32 nArgLen = aArgStr.getLength(); if( nStartPos + 1 > nArgLen ) { StarBASIC::Error( SbERR_BAD_ARGUMENT ); return; } Because if not, Mid(s, 20, 10, "lazy") will have the same kind of effect. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
