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-11-16 11:41:55 +01:00
2023-11-28 01:14:15 +01:00
2023-08-16 00:20:26 +10:00
2023-12-01 20:38:54 +01:00
2023-08-16 00:20:26 +10:00
2023-10-31 14:59:45 +01:00
2023-11-21 14:06:53 +01:00
2023-09-25 17:53:11 -04:00
2023-09-26 16:48:47 +02:00
2023-11-24 22:50:20 +01:00
2023-08-16 09:51:37 +02:00
2023-11-16 11:41:55 +01:00
2023-11-29 15:56:17 +11:00
2023-08-16 00:20:26 +10:00
2023-11-16 11:41:55 +01:00
2023-11-24 22:50:20 +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-09-14 16:10:36 +10:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-11-27 09:54:36 +11:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-08-16 00:20:26 +10:00
2023-11-16 11:41:55 +01:00
2023-09-28 13:42:29 +10:00
2023-11-07 16:33:19 +11:00
2023-10-19 12:09:55 +02:00
2023-09-25 10:56:12 +02:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-09-25 17:53:11 -04:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-12-01 20:38:54 +01:00
2023-08-16 00:20:26 +10:00
2023-11-16 11:41:55 +01:00
2023-12-01 20:01:22 +01:00
2023-12-05 17:11:03 +11:00
2023-12-01 20:38:54 +01:00
2023-10-30 21:40:35 +01:00
2023-11-16 11:41:55 +01:00
2023-11-16 11:41:55 +01:00
2023-08-16 00:20:26 +10:00
2023-11-29 15:56:17 +11:00
2023-11-16 11:41:55 +01:00