diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 10:07:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 10:57:22 +0000 |
commit | fe89615fd255331f8a27c8eb0c5a18319c4a806c (patch) | |
tree | 36792d8683758ba659cbdee5faa7e70024873800 /filter | |
parent | 19aa235feb3e301ff3a20e102754b6ee7c7b63fc (diff) |
coverity#1000696 Out-of-bounds access
Change-Id: I4e69c7f5e45882238c4cc27244f38b81c87780e2
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 6bc4cd6edc40..18e380df0bc3 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -5321,7 +5321,7 @@ PPTPortionObj::PPTPortionObj( const PPTCharPropSet& rCharPropSet, const PPTStyle PPTCharPropSet ( rCharPropSet ), mrStyleSheet ( rStyleSheet ), mnInstance ( nInstance ), - mnDepth ( nDepth ) + mnDepth ( ( nDepth > 4 ) ? 4 : nDepth ) { } |