]> git.openstreetmap.org Git - nominatim.git/commit
Avoid reading outside buffer
authorNeil Rickards <neilrickards@gmail.com>
Thu, 15 Feb 2018 18:02:59 +0000 (18:02 +0000)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2018 18:02:59 +0000 (18:02 +0000)
commit8ee36fb78cf2262aff921b192707704aeed2bb5a
treed07b02c15346d23d2129b887c2a5d12a47946a8d
parentc3483747ebd10bbe0c4d4914be189050c7178db2
Avoid reading outside buffer

Current str_replace code will read outside buffer if `isspace` and `from` occurs at the start of `buffer`
module/nominatim.c