summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmacstyle
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:49:51 (GMT)
committerMarius Storm-Olsen <marius@trolltech.com>2009-07-01 09:51:13 (GMT)
commitcfadf08a6c06ce319f6144e724f45e4923e72778 (patch)
tree672f5e0515b2b0cf718aca773eb87f9f4f738f0e /tests/auto/qmacstyle
parent5ae330b6546dabada53c394b53ce9513f552a8a5 (diff)
downloadQt-cfadf08a6c06ce319f6144e724f45e4923e72778.zip
Qt-cfadf08a6c06ce319f6144e724f45e4923e72778.tar.gz
Qt-cfadf08a6c06ce319f6144e724f45e4923e72778.tar.bz2
Handle application paths larger than MAX_PATH, and fix potential buffer overflow
These days we can easily get very long paths, so we should support application paths as long as needed. There was also a potention exploit in that if the path was MAX_PATH or larger, the string would not be \0 terminated (see MSDN docs for GetModuleFileName), and thus cause problems in QString::fromWCharArray(). Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'tests/auto/qmacstyle')
0 files changed, 0 insertions, 0 deletions