Commit Graph

18 Commits

Author SHA1 Message Date
Matthieu Darbois e078172b1c Add sanity check for tile coordinates (#823)
Coordinates are casted from OPJ_UINT32 to OPJ_INT32
Add sanity check for negative values and upper bound becoming lower
than lower bound.
See also
https://pdfium.googlesource.com/pdfium/+/b6befb2ed2485a3805cddea86dc7574510178ea9
2016-09-08 00:24:15 +02:00
Mathieu Malaterre 76af73bc72 [trunk] Fix inversion in code convention 2014-03-10 10:43:45 +00:00
Mathieu Malaterre f7bc0b49cb [trunk] Fix typo in the code 2014-03-10 10:12:25 +00:00
Mathieu Malaterre 9155e98911 [trunk] rework actual code to handle DOS/UNIX end of lines in a transparent manner.
This will help cross compilation cases
2014-03-10 10:09:30 +00:00
Mathieu Malaterre 7aee50de97 [trunk] First pass to cleanup compare_dump_files 2014-03-10 09:56:22 +00:00
Mathieu Malaterre 17d9caae83 [trunk] Remove warning about sign conversion.
Update issue 256
2014-03-06 15:10:39 +00:00
Mathieu Malaterre 80c5106015 [trunk] fgets takes an int as parameter 2014-03-03 12:11:53 +00:00
Mickael Savinaud d5efeb7df5 [trunk]update the copyright, the authors and thanks to respect the license 2012-11-15 15:22:29 +00:00
Mathieu Malaterre 98682e1073 [trunk] Remove some warnings about missing prototypes (gcc) 2012-10-15 15:47:56 +00:00
Mathieu Malaterre d88156d998 [trunk] merge r1234 from branch 1.5 over to trunk 2012-03-02 15:07:07 +00:00
Antonin Descampe aba0e602ed renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried. 2011-09-01 11:24:08 +00:00
Mickael Savinaud 22a2f98ced fixed a segfault with fgets return value for some cases inside test function compare_dump_file() 2011-08-31 16:51:37 +00:00
Mickael Savinaud e634cd0d62 add copyright header into new test functions 2011-08-10 08:14:49 +00:00
Mickael Savinaud 5743cca5f8 solve some obvious warnings for WIN platform, increase number of warning reported on the dashboard, correct last warnings with gcc 4.4 (-Wall) 2011-07-29 08:50:55 +00:00
Mickael Savinaud c2b0a8101b correct some warnings detected under unix platform 2011-07-27 16:37:57 +00:00
Mickael Savinaud 1776120dba correct CRLF problem between unix baseline and win platform test file generated by j2k_dump 2011-07-26 13:49:27 +00:00
Mickael Savinaud f4601aff8b use ansi c function fgets instead of GNU function getline to avoid build error with win platform 2011-07-26 09:30:54 +00:00
Mickael Savinaud eea61ee5e4 added non-regression tests for j2k_dump function and conformance data 2011-07-25 16:33:52 +00:00