summaryrefslogtreecommitdiff
path: root/ext/exif
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Make error messages more consistent by fixing capitalizationMáté Kocsis2020-01-171-1/+1
| | | | | | | | | | | | Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
* | | Use RETURN_THROWS() after try_convert_to_string()Máté Kocsis2020-01-031-2/+2
| | |
* | | Use ZEND_THROWS() during ZPP in enchant, exif, fileinfo, filter, and FTP ↵Máté Kocsis2019-12-311-2/+2
| | | | | | | | | | | | extensions
* | | Merge branch 'PHP-7.4'Nikita Popov2019-12-302-2/+35
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fixed bug #79046
| * | Fixed bug #79046Nikita Popov2019-12-302-2/+35
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-12-173-2/+66
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Avoid float to int cast UB in exif
| * | Avoid float to int cast UB in exifNikita Popov2019-12-173-2/+66
| | |
* | | Merge branch 'PHP-7.4'Stanislav Malyshev2019-12-161-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Test fixes
| * | Test fixesStanislav Malyshev2019-12-161-2/+2
| | |
* | | Merge branch 'PHP-7.4'Stanislav Malyshev2019-12-163-3/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.4: Fix test Fix bug #78793 Fix build - no model field anymore Fixed bug #78910 Fix #78878: Buffer underflow in bc_shift_addsub Fix test Fix #78862: link() silently truncates after a null byte on Windows Fix #78863: DirectoryIterator class silently truncates after a null byte Fix #78943: mail() may release string with refcount==1 twice
| * | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-12-162-2/+15
| |\ \ | | |/ | | | | | | | | | | | | * PHP-7.3: Fix test Fix bug #78793
| | * Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-12-163-3/+16
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fix test Fix bug #78793
| | | * Fix testStanislav Malyshev2019-12-161-1/+1
| | | |
| | | * Fix bug #78793Stanislav Malyshev2019-12-162-2/+15
| | | |
| * | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-12-161-2/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.3: Fix build - no model field anymore
| | * | Fix build - no model field anymoreStanislav Malyshev2019-12-161-2/+0
| | | |
| * | | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-12-162-1/+21
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.3: Fixed bug #78910 Fix #78878: Buffer underflow in bc_shift_addsub Fix test Fix #78862: link() silently truncates after a null byte on Windows Fix #78863: DirectoryIterator class silently truncates after a null byte Fix #78943: mail() may release string with refcount==1 twice
| | * | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2019-12-162-1/+21
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Fixed bug #78910 Fix #78878: Buffer underflow in bc_shift_addsub Fix test Fix #78862: link() silently truncates after a null byte on Windows Fix #78863: DirectoryIterator class silently truncates after a null byte
| | | * Fixed bug #78910Stanislav Malyshev2019-12-162-1/+19
| | | |
* | | | Remove dead commented code and dead code in-between KALLE_0 ifdefs.George Peter Banyard2019-12-081-55/+2
| | | | | | | | | | | | | | | | Closes GH-4986
* | | | Add union return types for function stubsMáté Kocsis2019-11-112-12/+8
| | | |
* | | | Clean DONE tags from testsFabien Villepinte2019-11-0717-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
* | | | Reduce reallocations in exif parsingNikita Popov2019-11-071-32/+25
| | | | | | | | | | | | | | | | | | | | Instead of reallocating lists element by element, increase the allocated list size exponentially.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-10-188-123/+122
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-7.4: Improve exif tag name fetching Implement a cache for exif tag name lookups Limit the amount of errors generated during exif parsing
| * | | Improve exif tag name fetchingNikita Popov2019-10-187-62/+56
| | | |
| * | | Implement a cache for exif tag name lookupsNikita Popov2019-10-181-13/+54
| | | |
| * | | Limit the amount of errors generated during exif parsingNikita Popov2019-10-183-54/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Emitting errors is fairly expensive, to the point that parsing a file with a huge number of invalid tags can take seconds. Generating ten thousand errors is unlikely to help anybody, but constitutes a potential DOS vector.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-10-091-2/+3
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-10-091-2/+3
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-10-091-2/+3
| | |\ \ | | | |/
| | | * Avoid float to int cast UB in exifNikita Popov2019-10-091-2/+3
| | | |
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-10-091-5/+0
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-10-091-5/+0
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-10-091-5/+0
| | |\ \ | | | |/
| | | * Remove redundant components < 0 checkNikita Popov2019-10-091-5/+0
| | | | | | | | | | | | | | | | components is an unsigned number, it cannot be smaller than zero.
* | | | Merge branch 'PHP-7.4'Christoph M. Becker2019-10-084-0/+24
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Add missing SKIPIFs in exif tests
| * | | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2019-10-084-0/+24
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.3: Add missing SKIPIFs in exif tests
| | * | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2019-10-084-0/+24
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.2: Add missing SKIPIFs in exif tests
| | | * Add missing SKIPIFs in exif testsFabien Villepinte2019-10-084-0/+24
| | | |
* | | | Fix bug #77204peter279k2019-10-021-1/+1
| | | | | | | | | | | | | | | | Include opened path in getimagesize() error message
* | | | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-252-4/+0
| | | | | | | | | | | | | | | | Closes GH-4732.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-09-223-0/+12
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-09-223-0/+12
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-09-223-0/+12
| | |\ \ | | | |/
| | | * Fix leak of temporary buffer during exif tag readingNikita Popov2019-09-223-0/+12
| | | |
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-09-223-5/+15
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-09-223-5/+15
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-09-223-5/+15
| | |\ \ | | | |/
| | | * Fix multiple leaks in exif_read_data()Nikita Popov2019-09-213-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes two leaks related to duplicate tags, as well as a leak of zero-length FMT_(S)BYTE with non-null value. This can show up for MAKERNOTE values where the original length is non-zero, but the first character is a null byte.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-09-194-0/+37
|\ \ \ \ | |/ / /