diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-04-27 02:12:47 (GMT) |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-04-30 16:00:40 (GMT) |
commit | 9c56dc1a2540a3bd6215d1165827f619c84a0b34 (patch) | |
tree | db195987794d02d0ee9bef7188b154f138bef56a /bin | |
parent | 20143e765b627ba2f8ab77ea9b842dd1549f19f3 (diff) | |
download | Qt-9c56dc1a2540a3bd6215d1165827f619c84a0b34.zip Qt-9c56dc1a2540a3bd6215d1165827f619c84a0b34.tar.gz Qt-9c56dc1a2540a3bd6215d1165827f619c84a0b34.tar.bz2 |
avoid infinite recursion in canonicalized() if cwd is a symlink
if current directory is a symlink to another directory
on the same drive (the simplest example; say, c:\current\dir
is a symlink to c:\target) then the first valid prefix for
"c:\target" in canonicalized() is "c:" (NOT "c:\") and would
be treated like "c:\current\dir" again...and again...
until stack overflow :)
Merge-Request: 494
Task-number: QTBUG-7610
Reviewed-by: Zeno Albisser
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions