Skip to content

Fix dereferencing of end for std::lower_bound and possible UB#2488

Merged
gknisely merged 1 commit intovalhalla:masterfrom
LaGrunge:sequence_UB
Jul 23, 2020
Merged

Fix dereferencing of end for std::lower_bound and possible UB#2488
gknisely merged 1 commit intovalhalla:masterfrom
LaGrunge:sequence_UB

Conversation

@LaGrunge
Copy link
Copy Markdown
Contributor

Fixes UB and segfault when std::lower_bound returns end.

@gknisely
Copy link
Copy Markdown
Member

@LaGrunge Can you update the changelog please?

@LaGrunge
Copy link
Copy Markdown
Contributor Author

LaGrunge commented Jul 23, 2020

@gknisely added mention in changelog, and rebased on master

@gknisely gknisely merged commit 4300dff into valhalla:master Jul 23, 2020
@gknisely
Copy link
Copy Markdown
Member

@LaGrunge Thank you!

yuzheyan added a commit that referenced this pull request Jul 28, 2020
* 'master' of github.com:valhalla/valhalla:
  Make tile building reproducible (#2480)
  Fix install-script for ubuntu 18.04 (#2306) (#2486)
  nit(git): Configures changelog to resolve conflicts with union strategy (#2489)
  feat(traffictile.h): Adds versioning checks (#2484)
  Fix dereferencing of end for std::lower_bound and possible UB (#2488)
  Minor fixes to tests (#2483)
  nit: Missing changelog entry (#2478)
  Safiefy protobuf (#2477)
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

Successfully merging this pull request may close these issues.

2 participants