Veres Lajos
4dc994571d
typo fixes - https://github.com/vlajos/misspell_fixer
...
Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c
2014-11-23 14:33:43 -08:00
Anatol Belski
5d9403f56c
fix possible array underflow
...
there are multiple issues with this code
- php_stream_read() returns an unsigned val, so is >= 0
- if it read less than sizeof(a) bytes, the function operates on garbage
- result->channels is an unsigned val, so >= 0
2014-09-19 20:12:24 +02:00
Stanislav Malyshev
3a2660b302
Fix windows build
2014-04-13 17:02:21 -07:00
Gabor Buella
1010200da5
Fixed bug #67024 - getimagesize should recognize BMP files with negative height
2014-04-13 15:17:04 -07:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
Veres Lajos
e9a95d78ef
typo fixes
2013-07-15 00:23:03 -07:00
Stanislav Malyshev
ac40c0b562
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:20:18 -07:00
Lars Strojny
bf9ad4e661
Support BITMAPV5HEADER in getimagesize(): https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_.28bitmap_information_header.29
2013-01-14 18:52:38 +01:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Scott MacVicar
194b48088c
Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreports mpg files
2011-05-13 05:06:48 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Ilia Alshanetsky
0625a0b23b
Fixed bug #33210 (getimagesize() fails to detect width/height on certain JPEGs).
2010-06-30 12:21:35 +00:00
Pierre Joye
754cb92b2b
- nuke unused vars
2010-05-05 13:51:54 +00:00
Pierre Joye
b9730786a7
- #51063 , implement getimagesizefromstring
2010-05-05 13:37:40 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Scott MacVicar
bb2283bf4e
MFH Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused.
2009-03-17 03:25:57 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Nuno Lopes
8a77e55566
clean some dead code (with static analysis help)
2008-09-23 15:18:26 +00:00
Felipe Pena
5fe790929d
- New parameter parsing API
2008-06-20 14:53:57 +00:00
Marcus Boerger
3be1a372a6
- MFH Add constants and new test (test from testfest.php.net)
2008-05-24 11:53:55 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Scott MacVicar
c76e8e03a1
Added icon file format support to getimagesize
2007-10-13 18:02:22 +00:00
Jani Taskinen
6723ed1db3
MFH: Nuked ending dots from error messages
2007-09-30 05:49:45 +00:00
Ilia Alshanetsky
75b5ce3b8d
Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE).
2007-05-08 18:38:20 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Hannes Magnusson
d836ff68c8
WS fix
2006-06-25 21:08:28 +00:00
Hannes Magnusson
7b6bf33b03
MFH: image_type_to_mime_type()
2006-06-25 21:06:39 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d0a54af4c5
MFH: Nuke php3 legacy
2005-12-05 22:54:01 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
fd396287d0
Fixed bug #33210 (relax jpeg recursive loop protection).
2005-06-01 22:28:03 +00:00
Marcus Boerger
ef64180c90
- Actuall the comments were correct
2005-03-06 22:18:09 +00:00
Ilia Alshanetsky
c8687cdb79
Fixed bug #29424 (width and height inverted for JPEG2000 files).
2005-03-06 17:03:43 +00:00
Stefan Esser
14abc19a76
Handle last or broken JP2 boxes correctly.
2005-03-01 13:53:02 +00:00
Marcus Boerger
67fd1f2654
- MFB
2005-03-01 10:14:18 +00:00
Ilia Alshanetsky
0367674517
Fixed compiler warnings.
2005-02-27 17:08:18 +00:00
Marcus Boerger
89d75d5c9c
- Little speed up
2005-02-24 20:22:40 +00:00
Marcus Boerger
72dc2d1025
- This must be == 1
2005-02-24 20:22:18 +00:00
Marcus Boerger
30f870f957
- Prevent superflous memory allocation
2005-02-24 00:12:15 +00:00
Ilia Alshanetsky
fac3e54ad9
Additional safety checks.
...
# More to follow
2005-02-23 23:39:36 +00:00
Marcus Boerger
3f5e714d7b
- Slightly redesign
...
# More to follow, explanation follows at more public place
2005-02-23 22:49:32 +00:00
Ilia Alshanetsky
5316f7bf25
Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
2004-10-04 20:42:30 +00:00
Anantha Kesari H Y
bc90ecb7e2
removed unwanted NEW_LIBC checks
2004-09-25 14:46:24 +00:00
Derick Rethans
318be175a4
- Added a notice to getimagesize in case zlib is not available and a compressed
...
SWF movie has been passed to the function.
2004-08-11 12:33:03 +00:00
Ilia Alshanetsky
972940509f
Fixed bug #29443 (Sanity check for wbmp detection).
2004-07-30 01:10:41 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Marcus Boerger
4911e83bec
Check validity of seeks.
...
WS/CS
2003-12-15 22:47:37 +00:00