Jim Mussared 4212799fd8 py/qstr: Special case qstr_find_strn for empty string.
This handles the case where an empty bytes/bytearray/str could pass in
NULL as the str argument (with length zero). This would result in UB in
strncmp. Even though our bare-metal implementation of strncmp handles
this, best to avoid it for when we're using system strncmp.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-11-07 16:01:50 +11:00
..
2023-10-16 11:23:11 +11:00
2023-08-24 15:44:20 +10:00
2023-10-16 11:23:11 +11:00
2023-10-16 11:23:11 +11:00
2023-06-02 21:50:57 +10:00
2023-06-02 21:50:57 +10:00
2023-09-01 14:31:57 +10:00