From 09fdceaa7df8f9d28b5028171b771a245fea8a47 Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Fri, 17 May 2019 11:28:47 +0200 Subject: [PATCH] Fixed property_copyAttributeList skipping logic Was incrementing the index twice and thereby possibly skipping over the string end with undefined results. --- properties.m | 1 - 1 file changed, 1 deletion(-) diff --git a/properties.m b/properties.m index c187f98..c2216e9 100644 --- a/properties.m +++ b/properties.m @@ -432,7 +432,6 @@ objc_property_attribute_t *property_copyAttributeList(objc_property_t property, i += strlen(attributes+i)-1; break; default: - i++; continue; } count++;