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

Possible labels_to_str undefined behavior. #77

Closed
mwhittaker opened this issue Feb 22, 2017 · 2 comments
Closed

Possible labels_to_str undefined behavior. #77

mwhittaker opened this issue Feb 22, 2017 · 2 comments

Comments

@mwhittaker
Copy link

The labels_to_str function dereferences labels.end() - 1 where labels is a vector. If labels is an empty vector than *(label.end() - 1) is undefined behavior (I think).

@mwhittaker
Copy link
Author

Here too.

@dcrankshaw
Copy link
Contributor

Fixed by #104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants