Change #267223
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 15 May 2026 13:28:03 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 71430e87fd3bcf8960b26325c9dd2b398876c121 |
Comments
strparse: make curlx_str_until() accept zero for 'max' When asked to parse for a string with max zero bytes, it will always return error and no longer trigger an assert. This saves the caller from having to check for this condition. Closes #21600
Changed files
- lib/curlx/strparse.c