albertexye 936870c1f0
Perform boundary checks before searching to prevent security vulnerabilities (#237)
* perform boundary check before searching to prevent security vulnerabilities

* when a negative start index is passed to str.find, 0 is used instead

* a ValueError is raised when argument 'start' is a negative integer
2024-04-02 13:38:45 +08:00
..
2024-02-20 01:56:10 +08:00
2023-10-02 03:05:21 +08:00
2024-03-29 01:29:32 +08:00
2024-03-02 04:22:53 +08:00
2024-02-19 00:08:36 +08:00
2024-03-24 18:01:03 +08:00
2024-01-03 19:15:41 +08:00
2023-08-13 02:29:19 +08:00
...
2024-01-17 15:31:44 +08:00
2024-02-18 17:51:35 +08:00
2024-03-29 01:29:32 +08:00
2024-03-16 15:55:53 +08:00
2024-03-03 01:30:09 +08:00
2024-03-29 00:40:54 +08:00
2024-03-17 19:22:17 +08:00
2024-03-01 18:18:41 +08:00
2024-03-22 12:33:15 +08:00
2023-10-13 12:46:41 +08:00
2024-03-03 01:32:34 +08:00
2024-02-05 19:42:41 +08:00
2024-03-16 18:37:09 +08:00
2024-02-18 17:51:35 +08:00
2024-03-02 04:06:29 +08:00
2024-02-16 19:52:52 +08:00
2024-03-29 01:29:32 +08:00