summaryrefslogtreecommitdiff
path: root/filter/qa
AgeCommit message (Collapse)AuthorFilesLines
2015-10-17bump size typeCaolán McNamara1-0/+0
Change-Id: I2c32c253499a3efb22a3312ed1f0a608649ce124 (cherry picked from commit dc71a72753202d29544845cfd58992bac63c6837) Reviewed-on: https://gerrit.libreoffice.org/17090 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 8840f5c2d7739e751e29b88224b416b20e3cd26a)
2015-09-17check stream status more oftenCaolán McNamara1-0/+0
Change-Id: I233c2fff9c06a81117f8114ccee83b53ea4026db (cherry picked from commit b43e03353aeb04ed74a272d98df03dd7c20f3478) Reviewed-on: https://gerrit.libreoffice.org/18506 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-09-17fix size check related hangCaolán McNamara1-0/+0
Change-Id: I3e8aa5c48ba802cd363688502b44e27bfdf67f01 (cherry picked from commit b02f1c58e7bb8b6c9381107431557d3f39794fe0) Reviewed-on: https://gerrit.libreoffice.org/18465 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-09-04check for legal field sizes before readingCaolán McNamara1-0/+0
Change-Id: I3cdb647e1a057be5bb4b32d119ee5bcbbedf7473 (cherry picked from commit ad6d83defb33c414885ce6d4bfa85571d463f3c3) Reviewed-on: https://gerrit.libreoffice.org/18170 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-04check stream statusCaolán McNamara1-0/+0
Change-Id: I65ed5979d35d8739367294a71620782b832cfd71 (cherry picked from commit a8fe085f973b4ccf846fe231af0fa25eda59911e) Reviewed-on: https://gerrit.libreoffice.org/18161 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-08-31in reality we are limited to max sal_Int32 hereCaolán McNamara1-0/+6
so accept that and test if the values were accepted or limited Change-Id: Iaed5ebc2f12b52055506147c71117a2ad88d28ac (cherry picked from commit 0a76c1fd6875bd094ebe2bfbed3d01c98dc0c19e) Reviewed-on: https://gerrit.libreoffice.org/17973 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-31detect and reject loop in tifCaolán McNamara1-0/+0
Change-Id: I77d315fa432a3eb1a65539489a2ba6da8508b283 (cherry picked from commit 6b82437dca30eba0f0c9dde6fdc84cb8f7740f8f) Reviewed-on: https://gerrit.libreoffice.org/17959 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03reject invalid tiff dimensionsCaolán McNamara1-0/+0
Change-Id: I64e77f12cb016a7f4a9d21c732aaeaae7959da76 (cherry picked from commit 34d062147c16090fa42c27ac7960e3f5e3b65d2b) Reviewed-on: https://gerrit.libreoffice.org/17258 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-08-03bail if offsets are past eofCaolán McNamara1-0/+0
(cherry picked from commit 97a0e7558b24792827d77217fb2d8b1106056963) Change-Id: I4a8e78231befff498894ec92a1f38af206e13129 Reviewed-on: https://gerrit.libreoffice.org/17227 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03fail on short readCaolán McNamara1-0/+0
Change-Id: I7215cf8d8b1e4a4156c87507018de3c2b7ed08d8 (cherry picked from commit 8eaef6b5217eecaa111c80e426bdf225481a71fb) Reviewed-on: https://gerrit.libreoffice.org/17221 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03don't hang on a bad ReadCodeAndDecodeCaolán McNamara1-0/+0
(cherry picked from commit 6964f67d0dd44c8a3c68caf194075ba5c649bf4b) Change-Id: I999012d428fa84e21fe9e9f851a016eacc96a686 Reviewed-on: https://gerrit.libreoffice.org/17218 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03ensure loop ends eventuallyCaolán McNamara1-0/+0
Change-Id: I318385286fcc27ffb2d938237d83e793564d2525 (cherry picked from commit c02e79874951ba86d926186e284612806d8bc0a3) Reviewed-on: https://gerrit.libreoffice.org/17215 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03test that nNumStripByteCounts value is within bounds of fileCaolán McNamara1-0/+0
Change-Id: If119628d7f510a7db30ed2180111063781cde887 (cherry picked from commit 33d43205c341e0cce36b6a1b3082c3927490cbde) Reviewed-on: https://gerrit.libreoffice.org/17211 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03final check np boundsCaolán McNamara1-0/+0
Change-Id: I9213bb2cc059e05e286598edac03bd72c84db876 (cherry picked from commit dcbbe7741a08f6076f9e020f90cbb730c1edafb9) Reviewed-on: https://gerrit.libreoffice.org/17213 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03check np bounds yet againCaolán McNamara1-0/+0
Change-Id: Id3f6fdc0ebed9711acec5d71f404e7a6072b765c (cherry picked from commit bca4d6f896fb12ceff37476c43ea8892898dd385) Reviewed-on: https://gerrit.libreoffice.org/17208 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03reduce scope, etc, don't loop endlesslyCaolán McNamara1-0/+0
Change-Id: I86e4e94392527b5faf5d9cdb4251853f35813f4e (cherry picked from commit 5d32a4ac5c166264c2d44e8df625eb768eb42fbe) Reviewed-on: https://gerrit.libreoffice.org/17205 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03in reality we are limited to max sal_Int32 hereCaolán McNamara1-0/+0
so accept that and test if the values were accepted or limited Change-Id: I599cf8065a6f8786d380fdba03135857766770f3 (cherry picked from commit 80c591ea9c320fee9e975ac7b0e4e2df1bf5e447) Reviewed-on: https://gerrit.libreoffice.org/17198 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03check np bounds againCaolán McNamara1-0/+0
Change-Id: I0fb61954b2eaf0c015d7bdefe9f03bd459b31501 (cherry picked from commit fcdddbd30a8b5cf6a5cc4d2ff28b7d4a20f8ec6b) Reviewed-on: https://gerrit.libreoffice.org/17202 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03check np boundsCaolán McNamara1-0/+0
(cherry picked from commit be4e1141be7cd54cf5362d3de534050db5505437) Change-Id: Id16ae9325f3c67792941b9c88d83435aa98282ca Reviewed-on: https://gerrit.libreoffice.org/17200 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03in remainingSize consider that its is possible to seek past the endCaolán McNamara1-0/+0
Change-Id: I1652244d5515629f1cd8f15f4c5b15f139dba0aa (cherry picked from commit 6a1f31898d4d44d69f4f65e56f5dd087607885af) Reviewed-on: https://gerrit.libreoffice.org/17160 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03don't loop forever if pcx has short readCaolán McNamara1-0/+0
Change-Id: I638792417924bcb8e48995f4e789f84a2cbf4757 (cherry picked from commit c9ba7a2a4d29af2542f31562cfdd64db2237aea8) Reviewed-on: https://gerrit.libreoffice.org/17159 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03detect another loop in tif formatCaolán McNamara1-0/+0
Change-Id: I950f751277d9080b4fc00c38f63453cce81bcc32 (cherry picked from commit 49bf2c6700d8f0fc9155ac2d06bf0a7bd84915d8) Reviewed-on: https://gerrit.libreoffice.org/17155 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03test that nNumStripOffsets value is within bounds of fileCaolán McNamara1-0/+0
Change-Id: I1483ea3671420be53496888892374641e10b344d (cherry picked from commit feedb957310fc3282ca47d5ffc1482dbb944a36e) Reviewed-on: https://gerrit.libreoffice.org/17152 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03detect loop in tif formatCaolán McNamara1-0/+0
Change-Id: I27645566cd9fc0ac8cf753f0217ae6cf0fa9929e (cherry picked from commit 290465b0effecb6d620adc20ca279f8057eeab9a) Reviewed-on: https://gerrit.libreoffice.org/17150 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03min size of eps for a preview is 32Caolán McNamara1-0/+0
(cherry picked from commit bf02304a0ea4771e01f39dd0032cbf276997ca00) + V668 no sense in testing the result of new against null cherry-picked from commit 556373c41fddbac6cbee1c89e7707631270a1852 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Mar 11 09:06:08 2015 +0000 V668 no sense in testing the result of new against null in order to merge simply Change-Id: Icb82d9dd0a3918f2bdc4cb768c566774cd0d8ac4 Reviewed-on: https://gerrit.libreoffice.org/17133 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03exception on div by 0Caolán McNamara1-0/+0
Change-Id: Id33d6a5e3df5812babd28ebfc65b95ce97219ad3 (cherry picked from commit cf4159e16c13a13d0bedccebb50bb08f1662bc1c) Reviewed-on: https://gerrit.libreoffice.org/17122 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-08-03avoid hang in short pbmCaolán McNamara6-0/+5
Change-Id: I9b7f0832a4dc231e1e8f963858c155e3cd392667 (cherry picked from commit b8637e67d6d39e47d22cfce496000288f0dc58d8) Reviewed-on: https://gerrit.libreoffice.org/17085 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03tools polygons limited to 16bit indexesCaolán McNamara1-0/+0
(cherry picked from commit 89857aacac98f0f8e5dca4718affec493951f904) WaE: C2220 (cherry picked from commit 8547c336b3253d90daae1c79a2b1a57996a39102) Change-Id: Ib0f727a3681492c15b807ca159d8bf7675ee8f29 Reviewed-on: https://gerrit.libreoffice.org/17089 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03don't hang with 0 len causing no progressionCaolán McNamara1-0/+0
Change-Id: Ie553dab291c7bfbde033d89b84159aff6b42a160 (cherry picked from commit 15dfcb7f461893f83abcf28bfe01a4164209a160) Reviewed-on: https://gerrit.libreoffice.org/17086 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03check stream state more often for failuresCaolán McNamara1-0/+0
Change-Id: Ie45d858021c3123ec21829cbf4742cf30ce46665 (cherry picked from commit adfa89b5ffc3589b3a19a32e707a134cee232429) Reviewed-on: https://gerrit.libreoffice.org/17072 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-03file format documentation states these are signedCaolán McNamara1-0/+0
Change-Id: Iaca58dda19d24a767333ff642759414951a03e6d (cherry picked from commit 8a60e78769ebf6fc73ddc8ed7e43991fcb30fff4) Reviewed-on: https://gerrit.libreoffice.org/17065 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-18java: make fields final where possibleNoel Grandin1-6/+6
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-17afl: divide-by-zeroCaolán McNamara1-0/+0
Change-Id: Ided311873f654c0f40dae57c8876a6412ee97d3e
2014-11-06update suffixes in .gitignore for filtersCaolán McNamara11-10/+13
Change-Id: Ibf6093946ef1dec1a2ba202917da9e4562c10d3e
2014-11-06add a build-time regression test for pcd file formatCaolán McNamara6-0/+72
Change-Id: Ie413372ab1cfc7e38570fdf65c6daca8c2cc426b
2014-10-20add CVE-2013-4979 testCaolán McNamara1-0/+0
Change-Id: I54025f46394ec1b16443ba75ff9edf9d8e1f6738
2014-10-20add eps import regression testCaolán McNamara6-0/+739
Change-Id: Iba88c7e54ba83132a859124d51f88be72cb3e3e1
2014-10-18add a regression test for .met filesCaolán McNamara5-0/+72
OS/2 Metafile Format aka Presentation Manager Metafile File Format this format appears to not to have a mime-type Change-Id: I8b2356fb42272a6e0550abf09f46b051d22b64a5
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin1-4/+4
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-16java: no need to call toString() on a String objectNoel Grandin1-1/+1
Change-Id: I05fa4bf198b3d77b1217eb65b5a1c79915016522
2014-10-11filter: stop leaking temp files in xsltfilter testMichael Stahl1-0/+4
Change-Id: Icefec168910ba0b059f4b1887ec67cce8505ffd6
2014-10-01We require OS X SDK 10.8 or newer nowTor Lillqvist1-2/+0
Change-Id: I68eee76c8710c89af8e3c1e1006345f908923ece
2014-08-20java: Avoid naming non-fields with the prefix m_Noel Grandin1-3/+3
found by PMD Change-Id: I5955cfc9c4d777496a2e8e4b2c422a51764a8bc1
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin1-3/+3
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-14clean upo runner.lib.TestParametersNoel Grandin1-1/+4
- remove unused fields - make all external code go through the get(XXX) methods instead of also using the default values - remove default values declarations and inline them, since they are now unnecessary. Change-Id: Idc875fbd133de90044647f3e3b1feb225d81a643
2014-08-13java: reduce scope, make some methods privateNoel Grandin1-4/+4
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin1-6/+6
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+1
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-09add test-case for CVE-2010-1681Caolán McNamara1-0/+0
Change-Id: I2ff8ee15fb7416ea5c8b7a8101ec12c8d371734b
2014-08-09add dxf import testsCaolán McNamara4-0/+72
Change-Id: Ied78545abb9807acfc634ca97a1ca00a163ffa19