Fixed property_copyAttributeList skipping logic

Was incrementing the index twice and thereby possibly skipping over the string end with undefined results.
main
Frederik Seiffert 7 years ago committed by David Chisnall
parent fb32780698
commit 09fdceaa7d

@ -432,7 +432,6 @@ objc_property_attribute_t *property_copyAttributeList(objc_property_t property,
i += strlen(attributes+i)-1;
break;
default:
i++;
continue;
}
count++;

Loading…
Cancel
Save