Skip to content

set_maxminddb_env() should NULL terminate path_segments.#78

Merged
oschwald merged 1 commit intomaxmind:masterfrom
ylavic:fix-set_maxminddb_env
Jul 10, 2019
Merged

set_maxminddb_env() should NULL terminate path_segments.#78
oschwald merged 1 commit intomaxmind:masterfrom
ylavic:fix-set_maxminddb_env

Conversation

@ylavic
Copy link
Contributor

@ylavic ylavic commented Feb 25, 2019

Otherwise MMDB_aget_value() in export_env_for_lookups() may access garbage.

@oschwald
Copy link
Member

Thanks!

@oschwald oschwald merged commit ac132c9 into maxmind:master Jul 10, 2019
oschwald added a commit that referenced this pull request Jul 10, 2019
@ylavic ylavic deleted the fix-set_maxminddb_env branch February 5, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants