forked from php/web-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog-5.php
More file actions
8805 lines (8343 loc) · 522 KB
/
ChangeLog-5.php
File metadata and controls
8805 lines (8343 loc) · 522 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
// $Id$
$_SERVER['BASE_PAGE'] = 'ChangeLog-5.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("PHP 5 ChangeLog", array("current" => "docs", 'css' => array('changelog.css')));
function bugfix($number) { echo "Fixed bug "; bugl($number); }
function bugl($number) { echo "<a href=\"http://bugs.php.net/$number\">#$number</a>"; }
function peclbugfix($number) { echo "Fixed PECL bug "; bugl($number); }
function peclbugl($number) { echo "<a href=\"http://pecl.php.net/bugs/bug.php?id=$number\">#$number</a>"; }
?>
<h1>PHP 5 ChangeLog</h1>
<a name="5.4.7"></a><!-- {{{ 5.4.7 -->
<h3>Version 5.4.7</h3>
<b>13-September-2012</b>
<ul>
<li>Core</li>
<ul>
<li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li>
<li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li>
<li><?php bugfix(62844); ?> (parse_url() does not recognize //)</li>
<li><?php bugfix(62829); ?> (stdint.h included on platform where HAVE_STDINT_H is not set)</li>
<li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li>
<li><?php bugfix(62725); ?> (Calling exit() in a shutdown function does not return the exit value)</li>
<li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li>
<li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li>
<li><?php bugfix(62358); ?> (Segfault when using traits a lot)</li>
<li><?php bugfix(62328); ?> (implementing __toString and a cast to string fails)</li>
<li><?php bugfix(51363); ?> (Fatal error raised by var_export() not caught by error handler)</li>
<li><?php bugfix(40459); ?> (Stat and Dir stream wrapper methods do not call constructor)</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(62912); ?> (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed)</li>
<li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li>
</ul>
</ul>
<ul>
<li>DateTime</li>
<ul>
<li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li>Fixed Spoofchecker not being registered on ICU 49.1</li>
<li>Fix bug #62933 (ext/intl compilation error on icu 3.4.1)</li>
<li>Fix bug #62915 (defective cloning in several intl classes)</li>
</ul>
</ul>
<ul>
<li>Installation</li>
<ul>
<li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM)</li>
</ul>
</ul>
<ul>
<li>PCRE</li>
<ul>
<li><?php bugfix(55856); ?> (preg_replace should fail on trailing garbage)</li>
</ul>
</ul>
<ul>
<li>PDO</li>
<ul>
<li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li>
</ul>
</ul>
<ul>
<li>Reflection</li>
<ul>
<li><?php bugfix(62892); ?> (ReflectionClass::getTraitAliases crashes on importing trait methods as private)</li>
<li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result)</li>
</ul>
</ul>
<ul>
<li>Session</li>
<ul>
<li>Fixed bug (segfault due to retval is not initialized)</li>
<li>Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when close handler call exit)</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<li><?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)</li>
<li>Implemented FR <?php bugl(62840); ?> (Add sort flag to ArrayObject::ksort)</li>
</ul>
</ul>
<ul>
<li>Standard</li>
<ul>
<li><?php bugfix(62836); ?> (Seg fault or broken object references on unserialize())</li>
</ul>
</ul>
<ul>
<li>FPM</li>
<ul>
<li>Merged PR 121 by minitux to add support for slow request counting on PHP FPM status page</li>
</ul>
</ul>
<a name="5.3.17"></a><!-- {{{ 5.3.17 -->
<h3>Version 5.3.17</h3>
<b>13-September-2012</b>
<ul>
<li>Core</li>
<ul>
<li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li>
<li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li>
<li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li>
<li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li>
<li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li>
<li>Fixed bug ##62460 (php binaries installed as binary.dSYM)</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li>
</ul>
</ul>
<ul>
<li>DateTime</li>
<ul>
<li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li>Fix null pointer dereferences in some classes of ext/intl</li>
</ul>
</ul>
<ul>
<li>MySQLnd</li>
<ul>
<li><?php bugfix(62885); ?> (mysqli_poll - Segmentation fault)</li>
</ul>
</ul>
<ul>
<li>PDO</li>
<ul>
<li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li>
</ul>
</ul>
<ul>
<li>Session</li>
<ul>
<li>Fixed bug (segfault due to retval is not initialized)</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)
</ul>
</ul>
<ul>
<li>Enchant</li>
<ul>
<li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it)</li>
</ul>
</ul>
<a name="5.4.6"></a><!-- {{{ 5.4.6 -->
<h3>Version 5.4.6</h3>
<b>16-August-2012</b>
<ul>
<li>CLI Server</li>
<ul>
<li>Implemented FR <?php bugl(62700); ?> (have the console output 'Listening on http://localhost:8000').</li>
</ul>
</ul>
<ul>
<li>Core</li>
<ul>
<li><?php bugfix(62661); ?> (Interactive php-cli crashes if include() is used in auto_prepend_file).</li>
<li><?php bugfix(62653); ?>: (unset($array[$float]) causes a crash).</li>
<li><?php bugfix(62565); ?> (Crashes due non-initialized internal properties_table).</li>
<li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li>
</ul>
</ul>
<ul>
<li>DateTime</li>
<ul>
<li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li><?php bugfix(61964); ?> (finfo_open with directory causes invalid free).</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(62564); ?> (Extending MessageFormatter and adding property causes crash).</li>
</ul>
</ul>
<ul>
<li>MySQLnd</li>
<ul>
<li><?php bugfix(62594); ?> (segfault in mysqlnd_res_meta::set_mode).</li>
</ul>
</ul>
<ul>
<li>readline</li>
<ul>
<li><?php bugfix(62612); ?> (readline extension compilation fails with sapi/cli/cli.h: No such file).</li>
</ul>
</ul>
<ul>
<li>Reflection</li>
<ul>
<li>Implemented FR <?php bugl(61602); ?> (Allow access to name of constant used as default value).</li>
</ul>
</ul>
<ul>
<li>SimpleXML</li>
<ul>
<li>Implemented FR <?php bugl(55218); ?> (Get namespaces from current node).</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li>
<li><?php bugfix(61527); ?> (ArrayIterator gives misleading notice on next() when moved to the end).</li>
</ul>
</ul>
<ul>
<li>Streams</li>
<ul>
<li><?php bugfix(62597); ?> (segfault in php_stream_wrapper_log_error with ZTS build).</li>
</ul>
</ul>
<ul>
<li>Zlib</li>
<ul>
<li><?php bugfix(55544); ?> (ob_gzhandler always conflicts with zlib.output_compression).</li>
</ul>
</ul>
<a name="5.3.16"></a><!-- {{{ 5.3.16 -->
<h3>Version 5.3.16</h3>
<b>16-August-2012</b>
<ul>
<li>Core</li>
<ul>
<li><?php bugfix(62763); ?> (register_shutdown_function and extending class).</li>
<li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class).</li>
<li><?php bugfix(62716); ?> (munmap() is called with the incorrect length).</li>
<li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM).</li>
<li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE).</li>
<li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li>
</ul>
</ul>
<ul>
<li>DateTime</li>
<ul>
<li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li>
</ul>
</ul>
<ul>
<li>Enchant</li>
<ul>
<li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it).</li>
</ul>
</ul>
<ul>
<li>PDO</li>
<ul>
<li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction()).</li>
</ul>
</ul>
<ul>
<li>Reflection</li>
<ul>
<li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result).</li>
</ul>
</ul>
<ul>
<li>Session</li>
<ul>
<li>Fixed bug (segfault due to retval is not initialized).</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li>
</ul>
</ul>
<a name="5.4.5"></a><!-- {{{ 5.4.5 -->
<h3>Version 5.4.5</h3>
<b>19-July-2012</b>
<ul>
<li>Core</li>
<ul>
<li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li>
<li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li>
<li><?php bugfix(62373); ?> (serialize() generates wrong reference to the object).</li>
<li><?php bugfix(62357); ?> (compile failure: (S) Arguments missing for built-in function __memcmp)</li>
<li><?php bugfix(61998); ?> (Using traits with method aliases appears to result in crash during execution)</li>
<li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li>
<li>Fixed potential overflow in _php_stream_scandir (CVE-2012-2688)</li>
</ul>
</ul>
<ul>
<li>EXIF</li>
<ul>
<li>Fixed information leak in ext exif</li>
</ul>
</ul>
<ul>
<li>FPM</li>
<ul>
<li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr)</li>
<li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li>
<li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances)</li>
<li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li>
<li><?php bugfix(61839); ?> (Unable to cross-compile PHP with --enable-fpm)</li>
<li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li>
<li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user'</li>
<li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li>
<li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients). (fat) for non-root start)</li>
<li><?php bugfix(61026); ?> (FPM pools can listen on the same address). (fat) can be launched without errors)</li>
</ul>
</ul>
<ul>
<li>Iconv</li>
<ul>
<li><?php bugfix(55042); ?> (Erealloc in iconv.c unsafe)</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li>
<li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li>
<li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li>
<li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li>
<li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li>
<li>ResourceBundle constructor now accepts NULL for the first two arguments</li>
</ul>
</ul>
<ul>
<li>JSON</li>
<ul>
<li><?php bugfix(61359); ?> (json_encode() calls too many reallocs)</li>
</ul>
</ul>
<ul>
<li>libxml</li>
<ul>
<li><?php bugfix(62266); ?> (Custom extension segfaults during xmlParseFile with FPM SAPI)</li>
</ul>
</ul>
<ul>
<li>Phar</li>
<ul>
<li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li>
</ul>
</ul>
<ul>
<li>Readline</li>
<ul>
<li><?php bugfix(62186); ?> (readline fails to compile - void function should not return a value)</li>
</ul>
</ul>
<ul>
<li>Reflection</li>
<ul>
<li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li>
<li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li>
</ul>
</ul>
<ul>
<li>Sockets</li>
<ul>
<li><?php bugfix(62025); ?> (__ss_family was changed on AIX 5.3)</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<li><?php bugfix(62433); ?> (Inconsistent behavior of RecursiveDirectoryIterator to dot files)</li>
<li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li>
</ul>
</ul>
<ul>
<li>XML Writer</li>
<ul>
<li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li>
</ul>
</ul>
<ul>
<li>Zip</li>
<ul>
<li>Upgraded libzip to 0.10.</li>
</ul>
</ul>
<a name="5.3.15"></a><!-- {{{ 5.3.15 -->
<h3>Version 5.3.15</h3>
<b>19-July-2012</b>
<ul>
<li>Zend Engine</li>
<ul>
<li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li>
</ul>
</ul>
<ul>
<li>COM</li>
<ul>
<li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
</ul>
</ul>
<ul>
<li>Core</li>
<ul>
<li>Fixed potential overflow in _php_stream_scandir, CVE-2012-2688</li>
<li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li>
<li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li>Fixed magic file regex support</li>
</ul>
</ul>
<ul>
<li>FPM</li>
<ul>
<li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients)</li>
<li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li>
<li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user' for non-root start)</li>
<li><?php bugfix(61026); ?> (FPM pools can listen on the same address)</li>
<li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li>
<li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances can be launched without errors)</li>
<li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li>
<li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li>
<li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr))</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li>
<li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li>
<li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li>
<li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li>
<li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li>
</ul>
</ul>
<ul>
<li>JSON</li>
<ul>
<li>Reverted fix for bug #61537</li>
</ul>
</ul>
<ul>
<li>Phar</li>
<ul>
<li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li>
</ul>
</ul>
<ul>
<li>Reflection</li>
<ul>
<li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li>
<li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li>
</ul>
</ul>
<ul>
<li>SPL</li>
<ul>
<li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li>
</ul>
</ul>
<ul>
<li>SQLite</li>
<ul>
<li>Fixed open_basedir bypass, CVE-2012-3365</li>
</ul>
</ul>
<ul>
<li>XML Write</li>
<ul>
<li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li>
</ul>
</ul>
<ul>
<li>Zip</li>
<ul>
<li>Upgraded libzip to 0.10</li>
</ul>
</ul>
<a name="5.4.4"></a><!-- {{{ 5.4.4 -->
<h3>Version 5.4.4</h3>
<b>06-June-2012</b>
<ul>
<li>CLI SAPI</li>
<ul>
<li>Implemented FR <?php bugl(61977); ?> (Need CLI web-server support for files with .htm & svg extensions)</li>
<li>Improved performance while sending error page, this also fixed bug <?php bugfix(61785); ?>
(Memory leak when access a non-exists file without router)</li>
<li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li>
</ul>
</ul>
<ul>
<li>Core</li>
<ul>
<li>Fixed missing bound check in iptcparse()</li>
<li>Fixed CVE-2012-2143</li>
<li><?php bugfix(62097); ?> (fix for for bug #54547)</li>
<li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li>
<li><?php bugfix(61978); ?> (Object recursion not detected for classes that implement JsonSerializable)</li>
<li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li>
<li><?php bugfix(61922); ?> (ZTS build doesn't accept zend.script_encoding config)</li>
<li><?php bugfix(61827); ?> (incorrect \e processing on Windows)</li>
<li><?php bugfix(61782); ?> (__clone/__destruct do not match other methods when checking access controls)</li>
<li><?php bugfix(61761); ?> ('Overriding' a private static method with a different signature causes crash)</li>
<li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li>
<li><?php bugfix(61728); ?> (PHP crash when calling ob_start in request_shutdown phase)</li>
<li><?php bugfix(61660); ?> (bin2hex(hex2bin($data)) != $data)</li>
<li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables (without apache2))</li>
<li><?php bugfix(61605); ?> (header_remove() does not remove all headers)</li>
<li><?php bugfix(54547); ?> (wrong equality of string numbers)</li>
<li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li>
<li>Changed php://fd to be available only for CLI</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li>
</ul>
</ul>
<ul>
<li>COM</li>
<ul>
<li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
</ul>
</ul>
<ul>
<li>FPM</li>
<ul>
<li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
<li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a directory descriptor under windows</li>
<li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions under windows in cdf_read()</li>
</ul>
</ul>
<ul>
<li>Iconv</li>
<ul>
<li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li>
</ul>
</ul>
<ul>
<li>JSON</li>
<ul>
<li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li>
</ul>
</ul>
<ul>
<li>LibXML</li>
<ul>
<li><?php bugfix(61617); ?> (Libxml tests failed(ht is already destroyed))</li>
</ul>
</ul>
<ul>
<li>PDO</li>
<ul>
<li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations)</li>
</ul>
</ul>
<ul>
<li>Phar</li>
<ul>
<li><?php bugfix(61065); ?> (Secunia SA44335) (CVE-2012-2386)</li>
</ul>
</ul>
<ul>
<li>Streams</li>
<ul>
<li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li>
</ul>
</ul>
<ul>
<li>zlib</li>
<ul>
<li><?php bugfix(61820); ?> (using ob_gzhandler will complain about headers already sent when no compression)</li>
<li><?php bugfix(61443); ?> (can't change zlib.output_compression on the fly)</li>
<li><?php bugfix(60761); ?> (zlib.output_compression fails on refresh)</li>
</ul>
</ul>
<!-- }}} -->
<a name="5.3.14"></a><!-- {{{ 5.3.14 -->
<h3>Version 5.3.14</h3>
<b>06-June-2012</b>
<ul>
<li>CLI SAPI</li>
<ul>
<li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li>
</ul>
</ul>
<ul>
<li>Core</li>
<ul>
<li>Fixed CVE-2012-2143</li>
<li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li>
<li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li>
<li>Fixed missing bound check in iptcparse()</li>
<li><?php bugfix(61764); ?> ('I' unpacks n as signed if n > 2^31-1 on LP64)</li>
<li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li>
<li><?php bugfix(61713); ?> (Logic error in charset detection for htmlentities)</li>
<li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li>
<li>Changed php://fd to be available only for CLI.</li>
</ul>
</ul>
<ul>
<li>CURL</li>
<ul>
<li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li>
</ul>
</ul>
<ul>
<li>COM</li>
<ul>
<li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
</ul>
</ul>
<ul>
<li>Iconv</li>
<ul>
<li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li>
</ul>
</ul>
<ul>
<li>JSON</li>
<ul>
<li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li>
</ul>
</ul>
<ul>
<li>PDO</li>
<ul>
<li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations)</li>
</ul>
</ul>
<ul>
<li>Phar</li>
<ul>
<li><?php bugfix(61065); ?> (Secunia SA44335)</li>
</ul>
</ul>
<ul>
<li>Streams</li>
<ul>
<li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li>
</ul>
</ul>
<!-- }}} -->
<a name="5.4.3"></a><!-- {{{ 5.4.3 -->
<h3>Version 5.4.3</h3>
<b>08-May-2012</b>
<ul>
<li><?php bugfix(61807); ?> Buffer Overflow in apache_request_headers, CVE-2012-2329.</li>
<li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li>
</ul>
<!-- }}} -->
<a name="5.3.13"></a><!-- {{{ 5.3.13 -->
<h3>Version 5.3.13</h3>
<b>08-May-2012</b>
<ul>
<li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li>
</ul>
<!-- }}} -->
<a name="5.4.2"></a><!-- {{{ 5.4.2 -->
<h3>Version 5.4.2</h3>
<b>03-May-2012</b>
<ul>
<li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li>
</ul>
<!-- }}} -->
<a name="5.3.12"></a><!-- {{{ 5.3.12 -->
<h3>Version 5.3.12</h3>
<b>03-May-2012</b>
<ul>
<li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li>
</ul>
<!-- }}} -->
<a name="5.4.1"></a><!-- {{{ 5.4.1 -->
<h3>Version 5.4.1</h3>
<b>26-Apr-2012</b>
<ul>
<li>CLI Server</li>
<ul>
<li><?php bugfix(61461); ?> (missing checks around malloc() calls).</li>
<li>Implemented <?php bugl(60850); ?> (Built in web server does not set
$_SERVER['SCRIPT_FILENAME'] when using router).</li>
</ul>
</ul>
<ul>
<li>Core</li>
<ul>
<li>Fixed crash in ZTS using same class in many threads.</li>
<li><?php bugfix(61374); ?> (html_entity_decode tries to decode code points that don't
exist in ISO-8859-1).</li>
<li><?php bugfix(61225); ?> (Incorrect lexing of 0b00*+<NUM>).</li>
<li><?php bugfix(61106); ?> (Segfault when using header_register_callback).</li>
<li><?php bugfix(61052); ?> (Missing error check in trait 'insteadof' clause).</li>
<li><?php bugfix(61011); ?> (Crash when an exception is thrown by __autoload
accessing a static property).</li>
<li><?php bugfix(60978); ?> (exit code incorrect).</li>
<li><?php bugfix(60911); ?> (Confusing error message when extending traits).</li>
<li><?php bugfix(60717); ?> (Order of traits in use statement can cause a fatal
error).</li>
<li><?php bugfix(60573); ?> (type hinting with "self" keyword causes weird errors).</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li>Fix fileinfo test problems.</li>
</ul>
</ul>
<ul>
<li>Intl</li>
<ul>
<li><?php bugfix(61487); ?> (Incorrent bounds checking in grapheme_strpos).</li>
</ul>
</ul>
<ul>
<li>mbstring</li>
<ul>
<li>MFH mb_ereg_replace_callback() for security enhancements.</li>
</ul>
</ul>
<ul>
<li>mysqlnd</li>
<ul>
<li><?php bugfix(60948); ?> (mysqlnd FTBFS when -Wformat-security is enabled).</li>
</ul>
</ul>
<ul>
<li>Standard</li>
<ul>
<li>Fixed memory leak in substr_replace.</li>
<li>Make max_file_uploads ini directive settable outside of php.</li>
<li><?php bugfix(61409); ?> (Bad formatting on phpinfo()).</li>
<li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li>
<li><?php bugfix(60106); ?> (stream_socket_server silently truncates long unix socket
paths).</li>
</ul>
</ul>
<!-- }}} -->
<a name="5.3.11"></a><!-- {{{ 5.3.11 -->
<h3>Version 5.3.11</h3>
<b>26-Apr-2012</b>
<ul>
<li>Core</li>
<ul>
<li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables
(without apache2)).</li>
<li><?php bugfix(61273); ?> (call_user_func_array with more than 16333 arguments
leaks / crashes).</li>
<li><?php bugfix(61165); ?> (Segfault - strip_tags()).</li>
<li><?php bugfix(61095); ?> (Incorect lexing of 0x00*+<NUM>).</li>
<li><?php bugfix(61087); ?> (Memory leak in parse_ini_file when specifying
invalid scanner mode).</li>
<li><?php bugfix(61072); ?> (Memory leak when restoring an exception handler).</li>
<li><?php bugfix(61058); ?> (array_fill leaks if start index is PHP_INT_MAX).</li>
<li><?php bugfix(61000); ?> (Exceeding max nesting level doesn't delete numerical
vars).</li>
<li><?php bugfix(60895); ?> (Possible invalid handler usage in windows random
functions).</li>
<li><?php bugfix(60825); ?> (Segfault when running symfony 2 tests).</li>
<li><?php bugfix(60801); ?> (strpbrk() mishandles NUL byte).</li>
<li><?php bugfix(60569); ?> (Nullbyte truncates Exception $message).</li>
<li><?php bugfix(60227); ?> (header() cannot detect the multi-line header with CR).</li>
<li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li>
<li><?php bugfix(54374); ?> (Insufficient validating of upload name leading to
corrupted $_FILES indices). (CVE-2012-1172).</li>
<li><?php bugfix(52719); ?> (array_walk_recursive crashes if third param of the
function is by reference).</li>
<li>Improve performance of set_exception_handler while doing reset.</li>
<li><?php bugfix(51860); ?> (Include fails with toplevel symlink to /).</li>
</ul>
</ul>
<ul>
<li>DOM</li>
<ul>
<li>Added debug info handler to DOM objects.</li>
</ul>
</ul>
<ul>
<li>FPM</li>
<ul>
<li><?php bugfix(61430); ?> (Transposed memset() params in sapi/fpm/fpm/fpm_shm.)</li>
<li><?php bugfix(60811); ?> (php-fpm compilation problem).</li>
</ul>
</ul>
<ul>
<li>Fileinfo</li>
<ul>
<li>Upgraded libmagic to 5.</li>
<li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a
directory descriptor under windows.</li>
<li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions
under windows in cdf_read().</li>
<li><?php bugfix(61173); ?> (Unable to detect error from finfo constructor).</li>
</ul>
</ul>
<ul>
<li>Firebird Database extension (ibase)</li>
<ul>
<li><?php bugfix(60802); ?> (ibase_trans() gives segfault when passing params).
</ul>
</ul>
<ul>
<li>Ibase</li>
<ul>
<li><?php bugfix(60947); ?> (Segmentation fault while executing ibase_db_info).</li>
</ul>
</ul>
<ul>
<li>Installation</li>
<ul>
<li><?php bugfix(61172); ?> (Add Apache 2.4 support).</li>
</ul>
</ul>
<ul>
<li>mysqli</li>
<ul>
<li><?php bugfix(61003); ?> (mysql_stat() require a valid connection).</li>
</ul>
</ul>
<ul>
<li>PDO_mysql</li>
<ul>