summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-11-21 18:11:36 +0100
committerDavid Faure <david.faure@kdab.com>2017-11-30 12:54:55 +0000
commit7200572b393534a2f503b810180276d2ae809c7a (patch)
tree3d0a53e697a558aa624ecde6667baf25262af236 /configure.json
parent648840c617f8702bca1cd7162cdb17b5e24ec1d4 (diff)
QMimeMagicRule: fix inconsequential out-of-bounds access
The penultimate entry in mimeRuleTypes_strings is "byte", which, incl. the terminating NUL character, has length five. But 65-59 == 6, so the last index in magicRuleType_indices was off by one. No harm done, since there's one more NUL (three in total...), but fix for the next reader of the code. Change-Id: Ibdf855014a313a0486d013c9d06d55cea96435fd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure.json')
0 files changed, 0 insertions, 0 deletions