Closed jiegec closed 1 month ago
Almost forgot. Please change the doxygen comment of the function to use ///
instead of //
Almost forgot. Please change the doxygen comment of the function to use
///
instead of//
Done
@kabeor, could you take a quick look at this one? To unblock further LoongArch work?
Your checklist for this pull request
Detailed description
Avoid potential integer underflow in
strlen(target) - strlen(str1) + strlen(str2)
ifstrlen(str1)
is very large. Usesnprintf
to ensure memory safety.Test plan
...
Closing issues
...