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; i += strlen(attributes+i)-1;
break; break;
default: default:
i++;
continue; continue;
} }
count++; count++;

Loading…
Cancel
Save