axiomatic-systems / Atomix

3 stars 4 forks source link

BUG: ATX_String_CreateFromSubString #1

Open ademyankov opened 7 years ago

ademyankov commented 7 years ago

There is a pointer bug when substring starts from a position larger than the original string length. IF condition has to be extended:

if (str != NULL && length != 0 && first <= ATX_StringLength(str))

barbibulle commented 7 years ago

Thanks for pointing this out. Will fix this ASAP.