summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-31 14:52:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-31 14:52:19 (GMT)
commit41887832b90698df95e8d222cdc0a541ae2f2284 (patch)
tree9ac6b9d9f07d8c5821fdd1b7d689db594a09414e /src/index.cpp
parentb59edd279f887e55b162ae1b1c7bce4b2ca29dab (diff)
downloadDoxygen-41887832b90698df95e8d222cdc0a541ae2f2284.zip
Doxygen-41887832b90698df95e8d222cdc0a541ae2f2284.tar.gz
Doxygen-41887832b90698df95e8d222cdc0a541ae2f2284.tar.bz2
Fixed a number of issues (resource leaks, uninitialized members, etc) found by coverity
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index c1c2837..ff347e3 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1640,7 +1640,7 @@ static void writeAnnotatedClassList(OutputList &ol)
static QCString letterToLabel(uint startLetter)
{
- char s[10];
+ char s[11]; // max 0x12345678 + '\0'
if (startLetter>0x20 && startLetter<=0x7f) // printable ASCII character
{
s[0]=(char)startLetter;