diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-03 21:29:28 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-03 21:29:28 +0200 |
commit | 9228b3ba170a0f68dbb432b2455c75d5fff21506 (patch) | |
tree | 0bfc3231b050efcfb7c5aec0664bd4739a6266f2 /common/storage_common.cpp | |
parent | ca5020095abfb76e63bd801e9722c07193eb05f5 (diff) | |
download | sink-9228b3ba170a0f68dbb432b2455c75d5fff21506.tar.gz sink-9228b3ba170a0f68dbb432b2455c75d5fff21506.zip |
Sanity check db names
lmdb and sink deal badly with e.g. a string containing a null in the
millde as db name. Thus we try to protect better against it.
This is an actual problem we triggered: https://phabricator.kde.org/T5880
Diffstat (limited to 'common/storage_common.cpp')
0 files changed, 0 insertions, 0 deletions