Campbell Barton
86f1fd5d8b
BLI_idprop: simplify string creation logic, support unterminated strings
...
- Support passing in unterminated C-strings when clamped by the size
argument.
- Pair string and it's size arguments together in IDP_NewStringMaxSize.
- Remove redundant size check which made it seem as if the string
might not be null terminated.
- Replace clamping the result of strlen(..) with BLI_strnlen,
to avoid calculating the length past the size checked.
- Add doc-string for unclamped string creation.
2023-12-05 17:11:03 +11:00
..
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-02 20:08:01 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-02 14:56:12 +11:00
2023-12-02 20:08:01 +01:00
2023-12-05 17:11:03 +11:00
2023-12-04 09:54:52 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-04 15:29:40 -05:00
2023-12-01 20:38:54 +01:00
2023-12-04 17:13:47 +01:00
2023-12-01 20:38:54 +01:00
2023-12-04 12:10:02 +01:00
2023-12-01 20:38:54 +01:00
2023-12-02 20:08:01 +01:00
2023-12-04 12:45:23 -05:00
2023-12-01 20:38:54 +01:00
2023-12-01 17:13:31 +01:00
2023-12-01 10:14:14 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-11-24 18:29:09 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-03 23:20:44 +01:00
2023-12-04 07:55:47 -05:00
2023-12-01 20:38:54 +01:00
2023-12-03 23:20:44 +01:00
2023-12-04 17:13:47 +01:00
2023-11-16 11:41:55 +01:00
2023-12-02 08:09:49 +01:00
2023-11-30 19:51:22 +01:00
2023-11-16 11:41:55 +01:00
2023-12-01 20:38:54 +01:00
2023-11-16 11:41:55 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-12-01 20:38:54 +01:00
2023-09-27 15:46:18 +02:00