aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-01-11 10:17:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-11 16:46:31 +0700
commitf43a3052cb3eb0bb87ea81f15e4a02487a5ed8ec (patch)
tree375548a8854c85a736b3936f783bbb1125aaa74f /qt-ui
parent9fca37acecdc0e8a622f7618b205383348611dac (diff)
downloadsubsurface-f43a3052cb3eb0bb87ea81f15e4a02487a5ed8ec.tar.gz
Ensure gaslist is NULL terminated
If buffer copying is restricted by the buffer size in strncpy or snprintf, the copied string is not NULL terminated. Add one to the end just to make sure. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
0 files changed, 0 insertions, 0 deletions