Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: ATX_String_CreateFromSubString #1

Open
ademyankov opened this issue Nov 1, 2017 · 1 comment
Open

BUG: ATX_String_CreateFromSubString #1

ademyankov opened this issue Nov 1, 2017 · 1 comment
Assignees
Labels

Comments

@ademyankov
Copy link

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
Copy link
Collaborator

Thanks for pointing this out. Will fix this ASAP.

@barbibulle barbibulle self-assigned this Nov 9, 2017
@barbibulle barbibulle added the bug label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants