Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-19 03:44:51 +0300
committerCampbell Barton <campbell@blender.org>2022-08-19 03:54:45 +0300
commit4f8c15daf4cde7d55e2a7bc59287b6e795d934d0 (patch)
treecdcb3d1ae89c3f7ae430af8623a95a265e7c6a82 /source/blender/blenloader
parent6a4f4810f38b2efc49d55dad6960f610f166773f (diff)
Fix logical errors in RNA_path_array_index_token_find
This function never succeeded as an off by one error checking the last character always indexed the null byte. The 'for' loop was broken as of [0] since the unsigned number could wrap around with some RNA paths causing out of bounds memory access. This is an example where tests would have caught the problem early on, RNA path tests are planned as part of D15558. [0]: 11b4d0a3c3787a90e6f1631f7735d0968afbb20a
Diffstat (limited to 'source/blender/blenloader')
0 files changed, 0 insertions, 0 deletions