diff options
author | Herbert Dürr <hdu@apache.org> | 2013-07-16 13:30:18 +0000 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-08-02 08:32:06 +0000 |
commit | 1366aed01033f10639dcadb5511917391eba01a1 (patch) | |
tree | 657db3a2c4361e4529b1e25ef427bc061cdb99fd /sc/qa/unit/subsequent_export-test.cxx | |
parent | cba4eda4c9ca1174d7b9f3db821fc3452b4af486 (diff) |
#i122752# check iterator in each iteration of CFormatEtcContainer::nextFormatEtc()'s loop
Don't trust nextFormatEtc()'s aNum argument not to mislead the iterator beyond
the container bounds. The comparable loop in CFormatEtcContainer::skipFormatEtc()
already checks the iterator against the container end in each iteration.
(cherry picked from commit a609daa146c5588c6a35c2c145e9573c625ec123)
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
Change-Id: Ie745497491679dfb172d78876c3a3731e153243e
Reviewed-on: https://gerrit.libreoffice.org/5241
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sc/qa/unit/subsequent_export-test.cxx')
0 files changed, 0 insertions, 0 deletions