summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-05-12 11:38:02 (GMT)
committerGitHub <noreply@github.com>2019-05-12 11:38:02 (GMT)
commit59603e99374ec1272b9758cc947881b68bae2023 (patch)
treef7447db678e54d5ea279da4faec644e3613ea48d
parentad9af447d77c2899c484ab9ab776667f083db64b (diff)
parent192bbc4d99e468f6899d1cba4fb865c84037816a (diff)
downloadDoxygen-59603e99374ec1272b9758cc947881b68bae2023.zip
Doxygen-59603e99374ec1272b9758cc947881b68bae2023.tar.gz
Doxygen-59603e99374ec1272b9758cc947881b68bae2023.tar.bz2
Merge pull request #6984 from albert-github/feature/bug_781306
Bug 781306 - *** Error in `doxygen': realloc(): invalid pointer: 0x0000000001d45ba0 @ exit
-rw-r--r--src/htags.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htags.cpp b/src/htags.cpp
index 77b1f8d..7f5870d 100644
--- a/src/htags.cpp
+++ b/src/htags.cpp
@@ -128,7 +128,7 @@ bool Htags::loadFilemap(const QCString &htmlDir)
int len;
while ((len=f.readLine(line.rawData(),maxlen))>0)
{
- line.resize(len+1);
+ line.at(len)='\0';
//printf("Read line: %s",line.data());
int sep = line.find('\t');
if (sep!=-1)