diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-12 12:32:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-12 12:32:08 +0000 |
commit | bab07202fcf5ea23d771ddb73180316524c63574 (patch) | |
tree | 1f46d2ffc4f65abd4d3f88670a60ff7bb4f24c8c /sc | |
parent | coverity#1242895 Untrusted loop bound (diff) | |
download | core-bab07202fcf5ea23d771ddb73180316524c63574.tar.gz core-bab07202fcf5ea23d771ddb73180316524c63574.zip |
coverity#1242775 Use of untrusted scalar value
Change-Id: Iaaf92c4be9b41c5824a1b1474fbce19a1afa49ae
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/lotus/op.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx index 69fa71b04520..69a9214815c9 100644 --- a/sc/source/filter/lotus/op.cxx +++ b/sc/source/filter/lotus/op.cxx @@ -175,6 +175,8 @@ void OP_ColumnWidth(LotusContext& rContext, SvStream& r, sal_uInt16 /*n*/) if (ValidCol(nCol)) { + nCol = SanitizeCol(nCol); + sal_uInt16 nBreite; if( nWidthSpaces ) // assuming 10cpi character set |