forked from php/web-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog-7.php
More file actions
6664 lines (6571 loc) · 286 KB
/
ChangeLog-7.php
File metadata and controls
6664 lines (6571 loc) · 286 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
$_SERVER['BASE_PAGE'] = 'ChangeLog-7.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/changelogs.inc';
site_header("PHP 7 ChangeLog", array("current" => "docs", "css" => array("changelog.css"), "layout_span" => 12));
?>
<h1>PHP 7 ChangeLog</h1>
<section class="version" id="7.1.27"><!-- {{{ 7.1.27 -->
<h3>Version 7.1.27</h3>
<b><?php release_date('07-Mar-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77630); ?> (rename() across the device may allow unwanted access during processing).</li>
</ul></li>
<li>EXIF:
<ul>
<li><?php bugfix(77509); ?> (Uninitialized read in exif_process_IFD_in_TIFF).</li>
<li><?php bugfix(77540); ?> (Invalid Read on exif_process_SOFn).</li>
<li><?php bugfix(77563); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
<li><?php bugfix(77659); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
</ul></li>
<li>PHAR:
<ul>
<li><?php bugfix(77396); ?> (Null Pointer Dereference in phar_create_or_parse_filename).</li>
<li><?php bugfix(77586); ?> (phar_tar_writeheaders_int() buffer overflow).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(77431); ?> (openFile() silently truncates after a null byte).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.2.16"><!-- {{{ 7.2.16 -->
<h3>Version 7.2.16</h3>
<b><?php release_date('07-Mar-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77589); ?> (Core dump using parse_ini_string with numeric sections).</li>
<li><?php bugfix(77630); ?> (rename() across the device may allow unwanted access during processing).</li>
</ul></li>
<li>COM:
<ul>
<li><?php bugfix(77621); ?> (Already defined constants are not properly reported).</li>
</ul></li>
<li>EXIF:
<ul>
<li><?php bugfix(77509); ?> (Uninitialized read in exif_process_IFD_in_TIFF).</li>
<li><?php bugfix(77540); ?> (Invalid Read on exif_process_SOFn).</li>
<li><?php bugfix(77563); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
<li><?php bugfix(77659); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
</ul></li>
<li>PDO_OCI:
<ul>
<li>Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.</li>
</ul></li>
<li>PHAR:
<ul>
<li><?php bugfix(77396); ?> (Null Pointer Dereference in phar_create_or_parse_filename).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(51068); ?> (DirectoryIterator glob:// don't support current path relative queries).</li>
<li><?php bugfix(77431); ?> (openFile() silently truncates after a null byte).</li>
</ul></li>
<li>Standard:
<ul>
<li><?php bugfix(77552); ?> (Unintialized php_stream_statbuf in stat functions).</li>
</ul></li>
<li>MySQL:
<ul>
<li>Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.3.3"><!-- {{{ 7.3.3 -->
<h3>Version 7.3.3</h3>
<b><?php release_date('07-Mar-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77589); ?> (Core dump using parse_ini_string with numeric sections).</li>
<li><?php bugfix(77329); ?> (Buffer Overflow via overly long Error Messages).</li>
<li><?php bugfix(77494); ?> (Disabling class causes segfault on member access).</li>
<li><?php bugfix(77498); ?> (Custom extension Segmentation fault when declare static property).</li>
<li><?php bugfix(77530); ?> (PHP crashes when parsing `(2)::class`).</li>
<li><?php bugfix(77546); ?> (iptcembed broken function).</li>
<li><?php bugfix(77630); ?> (rename() across the device may allow unwanted access during processing).</li>
</ul></li>
<li>COM:
<ul>
<li><?php bugfix(77621); ?> (Already defined constants are not properly reported).</li>
<li><?php bugfix(77626); ?> (Persistence confusion in php_com_import_typelib()).</li>
</ul></li>
<li>EXIF:
<ul>
<li><?php bugfix(77509); ?> (Uninitialized read in exif_process_IFD_in_TIFF).</li>
<li><?php bugfix(77540); ?> (Invalid Read on exif_process_SOFn).</li>
<li><?php bugfix(77563); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
<li><?php bugfix(77659); ?> (Uninitialized read in exif_process_IFD_in_MAKERNOTE).</li>
</ul></li>
<li>Mbstring:
<ul>
<li><?php bugfix(77514); ?> (mb_ereg_replace() with trailing backslash adds null byte).</li>
</ul></li>
<li>MySQL:
<ul>
<li>Disabled LOCAL INFILE by default, can be enabled using php.ini directive mysqli.allow_local_infile for mysqli, or PDO::MYSQL_ATTR_LOCAL_INFILE attribute for pdo_mysql.</li>
</ul></li>
<li>OpenSSL:
<ul>
<li><?php bugfix(77390); ?> (feof might hang on TLS streams in case of fragmented TLS records).</li>
</ul></li>
<li>PDO_OCI:
<ul>
<li>Support Oracle Database tracing attributes ACTION, MODULE, CLIENT_INFO, and CLIENT_IDENTIFIER.</li>
</ul></li>
<li>PHAR:
<ul>
<li><?php bugfix(77396); ?> (Null Pointer Dereference in phar_create_or_parse_filename).</li>
<li><?php bugfix(77586); ?> (phar_tar_writeheaders_int() buffer overflow).</li>
</ul></li>
<li>phpdbg:
<ul>
<li><?php bugfix(76596); ?> (phpdbg support for display_errors=stderr).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(51068); ?> (DirectoryIterator glob:// don't support current path relative queries).</li>
<li><?php bugfix(77431); ?> (openFile() silently truncates after a null byte).</li>
</ul></li>
<li>Standard:
<ul>
<li><?php bugfix(77552); ?> (Unintialized php_stream_statbuf in stat functions).</li>
<li><?php bugfix(77612); ?> (setcookie() sets incorrect SameSite header if all of its options filled).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.2.15"><!-- {{{ 7.2.15 -->
<h3>Version 7.2.15</h3>
<b><?php release_date('07-Feb-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77339); ?> (__callStatic may get incorrect arguments).</li>
<li><?php bugfix(77494); ?> (Disabling class causes segfault on member access).</li>
<li><?php bugfix(77530); ?> (PHP crashes when parsing `(2)::class`).</li>
</ul></li>
<li>Curl:
<ul>
<li><?php bugfix(76675); ?> (Segfault with H2 server push).</li>
</ul></li>
<li>GD:
<ul>
<li><?php bugfix(73281); ?> (imagescale(…, IMG_BILINEAR_FIXED) can cause black border).</li>
<li><?php bugfix(73614); ?> (gdImageFilledArc() doesn't properly draw pies).</li>
<li><?php bugfix(77272); ?> (imagescale() may return image resource on failure).</li>
<li><?php bugfix(77391); ?> (1bpp BMPs may fail to be loaded).</li>
<li><?php bugfix(77479); ?> (imagewbmp() segfaults with very large images).</li>
</ul></li>
<li>ldap:
<ul>
<li><?php bugfix(77440); ?> (ldap_bind using ldaps or ldap_start_tls()=exception in libcrypto-1_1-x64.dll).</li>
</ul></li>
<li>Mbstring:
<ul>
<li><?php bugfix(77454); ?> (mb_scrub() silently truncates after a null byte).</li>
</ul></li>
<li>MySQLnd:
<ul>
<li><?php bugfix(75684); ?> (In mysqlnd_ext_plugin.h the plugin methods family has no external visibility).</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77361); ?> (configure fails on 64-bit AIX when opcache enabled).</li>
</ul></li>
<li>OpenSSL:
<ul>
<li><?php bugfix(77390); ?> (feof might hang on TLS streams in case of fragmented TLS records).</li>
</ul></li>
<li>PDO:
<ul>
<li><?php bugfix(77273); ?> (array_walk_recursive corrupts value types leading to PDO failure).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(76839); ?> (socket_recvfrom may return an invalid 'from' address on MacOS).</li>
</ul></li>
<li>Standard:
<ul>
<li><?php bugfix(77395); ?> (segfault about array_multisort).</li>
<li><?php bugfix(77439); ?> (parse_str segfaults when inserting item into existing array).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.3.2"><!-- {{{ 7.3.2 -->
<h3>Version 7.3.2</h3>
<b><?php release_date('07-Feb-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77369); ?> (memcpy with negative length via crafted DNS response). (CVE-2019-9022)</li>
<li><?php bugfix(77387); ?> (Recursion detection broken when printing GLOBALS).</li>
<li><?php bugfix(77376); ?> ("undefined function" message no longer includes namespace).</li>
<li><?php bugfix(77357); ?> (base64_encode / base64_decode doest not work on nested VM).</li>
<li><?php bugfix(77339); ?> (__callStatic may get incorrect arguments).</li>
<li><?php bugfix(77317); ?> (__DIR__, __FILE__, realpath() reveal physical path for subst virtual drive).</li>
<li><?php bugfix(77263); ?> (Segfault when using 2 RecursiveFilterIterator).</li>
<li><?php bugfix(77447); ?> (PHP 7.3 built with ASAN crashes in zend_cpu_supports_avx2).</li>
<li><?php bugfix(77484); ?> (Zend engine crashes when calling realpath in invalid working dir).</li>
</ul></li>
<li>Curl:
<ul>
<li><?php bugfix(76675); ?> (Segfault with H2 server push).</li>
</ul></li>
<li>Fileinfo:
<ul>
<li><?php bugfix(77346); ?> (webm files incorrectly detected as application/octet-stream).</li>
</ul></li>
<li>FPM:
<ul>
<li><?php bugfix(77430); ?> (php-fpm crashes with Main process exited, code=dumped, status=11/SEGV).</li>
</ul></li>
<li>GD:
<ul>
<li><?php bugfix(73281); ?> (imagescale(…, IMG_BILINEAR_FIXED) can cause black border).</li>
<li><?php bugfix(73614); ?> (gdImageFilledArc() doesn't properly draw pies).</li>
<li><?php bugfix(77272); ?> (imagescale() may return image resource on failure).</li>
<li><?php bugfix(77391); ?> (1bpp BMPs may fail to be loaded).</li>
<li><?php bugfix(77479); ?> (imagewbmp() segfaults with very large images).</li>
</ul></li>
<li>ldap:
<ul>
<li><?php bugfix(77440); ?> (ldap_bind using ldaps or ldap_start_tls()=exception in libcrypto-1_1-x64.dll).</li>
</ul></li>
<li>Mbstring:
<ul>
<li><?php bugfix(77428); ?> (mb_ereg_replace() doesn't replace a substitution variable).</li>
<li><?php bugfix(77454); ?> (mb_scrub() silently truncates after a null byte).</li>
</ul></li>
<li>MySQLnd:
<ul>
<li><?php bugfix(77308); ?> (Unbuffered queries memory leak).</li>
<li><?php bugfix(75684); ?> (In mysqlnd_ext_plugin.h the plugin methods family has no external visibility).</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77266); ?> (Assertion failed in dce_live_ranges).</li>
<li><?php bugfix(77257); ?> (value of variable assigned in a switch() construct gets lost).</li>
<li><?php bugfix(77434); ?> (php-fpm workers are segfaulting in zend_gc_addre).</li>
<li><?php bugfix(77361); ?> (configure fails on 64-bit AIX when opcache enabled).</li>
<li><?php bugfix(77287); ?> (Opcache literal compaction is incompatible with EXT opcodes).</li>
</ul></li>
<li>PCRE:
<ul>
<li><?php bugfix(77338); ?> (get_browser with empty string).</li>
</ul></li>
<li>PDO:
<ul>
<li><?php bugfix(77273); ?> (array_walk_recursive corrupts value types leading to PDO failure).</li>
</ul></li>
<li>PDO MySQL:
<ul>
<li><?php bugfix(77289); ?> (PDO MySQL segfaults with persistent connection).</li>
</ul></li>
<li>SOAP:
<ul>
<li><?php bugfix(77410); ?> (Segmentation Fault when executing method with an empty parameter).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(76839); ?> (socket_recvfrom may return an invalid 'from' address on MacOS).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(77298); ?> (segfault occurs when add property to unserialized empty ArrayObject).</li>
</ul></li>
<li>Standard:
<ul>
<li><?php bugfix(77395); ?> (segfault about array_multisort).</li>
<li><?php bugfix(77439); ?> (parse_str segfaults when inserting item into existing array).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.3.1"><!-- {{{ 7.3.1 -->
<h3>Version 7.3.1</h3>
<b><?php release_date('10-Jan-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(76654); ?> (Build failure on Mac OS X on 32-bit Intel).</li>
<li><?php bugfix(71041); ?> (zend_signal_startup() needs ZEND_API).</li>
<li><?php bugfix(76046); ?> (PHP generates "FE_FREE" opcode on the wrong line).</li>
<li><?php bugfix(77291); ?> (magic methods inherited from a trait may be ignored).</li>
</ul></li>
<li>CURL:
<ul>
<li><?php bugfix(77264); ?> (curl_getinfo returning microseconds, not seconds).</li>
</ul></li>
<li>COM:
<ul>
<li><?php bugfix(77177); ?> (Serializing or unserializing COM objects crashes).</li>
</ul></li>
<li>Exif:
<ul>
<li><?php bugfix(77184); ?> (Unsigned rational numbers are written out as signed rationals).</li>
</ul></li>
<li>GD:
<ul>
<li><?php bugfix(77195); ?> (Incorrect error handling of imagecreatefromjpeg()).</li>
<li><?php bugfix(77198); ?> (auto cropping has insufficient precision).</li>
<li><?php bugfix(77200); ?> (imagecropauto(…, GD_CROP_SIDES) crops left but not right).</li>
<li><?php bugfix(77269); ?> (efree() on uninitialized Heap data in imagescale leads to use-after-free). (CVE-2016-10166)</li>
<li><?php bugfix(77270); ?> (imagecolormatch Out Of Bounds Write on Heap). (CVE-2019-6977)</li>
</ul></li>
<li>MBString:
<ul>
<li><?php bugfix(77367); ?> (Negative size parameter in mb_split). (CVE-2019-9025)</li>
<li><?php bugfix(77370); ?> (Buffer overflow on mb regex functions - fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77371); ?> (heap buffer overflow in mb regex functions - compile_string_node). (CVE-2019-9023)</li>
<li><?php bugfix(77381); ?> (heap buffer overflow in multibyte match_at). (CVE-2019-9023)</li>
<li><?php bugfix(77382); ?> (heap buffer overflow due to incorrect length in expand_case_fold_string). (CVE-2019-9023)</li>
<li><?php bugfix(77385); ?> (buffer overflow in fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77394); ?> (Buffer overflow in multibyte case folding - unicode). (CVE-2019-9023)</li>
<li><?php bugfix(77418); ?> (Heap overflow in utf32be_mbc_to_code). (CVE-2019-9023)</li>
</ul></li>
<li>OCI8:
<ul>
<li><?php bugfix(76804); ?> (oci_pconnect with OCI_CRED_EXT not working).</li>
<li>Added oci_set_call_timeout() for call timeouts.</li>
<li>Added oci_set_db_operation() for the DBOP end-to-end-tracing attribute.</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77215); ?> (CFG assertion failure on multiple finalizing switch frees in one block).</li>
<li><?php bugfix(77275); ?> (OPcache optimization problem for ArrayAccess->offsetGet).</li>
</ul></li>
<li>PCRE:
<ul>
<li><?php bugfix(77193); ?> (Infinite loop in preg_replace_callback).</li>
</ul></li>
<li>PDO:
<ul>
<li>Handle invalid index passed to PDOStatement::fetchColumn() as error.</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77247); ?> (heap buffer overflow in phar_detect_phar_fname_ext). (CVE-2019-9021)</li>
</ul></li>
<li>Soap:
<ul>
<li><?php bugfix(77088); ?> (Segfault when using SoapClient with null options).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(77136); ?> (Unsupported IPV6_RECVPKTINFO constants on macOS).</li>
</ul></li>
<li>Sodium:
<ul>
<li><?php bugfix(77297); ?> (SodiumException segfaults on PHP 7.3).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(77359); ?> (spl_autoload causes segfault).</li>
<li><?php bugfix(77360); ?> (class_uses causes segfault).</li>
</ul></li>
<li>SQLite3:
<ul>
<li><?php bugfix(77051); ?> (Issue with re-binding on SQLite3).</li>
</ul></li>
<li>Xmlrpc:
<ul>
<li><?php bugfix(77242); ?> (heap out of bounds read in xmlrpc_decode()). (CVE-2019-9020)</li>
<li><?php bugfix(77380); ?> (Global out of bounds read in xmlrpc base64 code). (CVE-2019-9024)</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.2.14"><!-- {{{ 7.2.14 -->
<h3>Version 7.2.14</h3>
<b><?php release_date('10-Jan-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77369); ?> (memcpy with negative length via crafted DNS response). (CVE-2019-9022)</li>
<li><?php bugfix(71041); ?> (zend_signal_startup() needs ZEND_API).</li>
<li><?php bugfix(76046); ?> (PHP generates "FE_FREE" opcode on the wrong line).</li>
</ul></li>
<li>COM:
<ul>
<li><?php bugfix(77177); ?> (Serializing or unserializing COM objects crashes).</li>
</ul></li>
<li>Date:
<ul>
<li><?php bugfix(77097); ?> (DateTime::diff gives wrong diff when the actual diff is less than 1 second).</li>
</ul></li>
<li>Exif:
<ul>
<li><?php bugfix(77184); ?> (Unsigned rational numbers are written out as signed rationals).</li>
</ul></li>
<li>GD:
<ul>
<li><?php bugfix(77269); ?> (efree() on uninitialized Heap data in imagescale leads to use-after-free). (CVE-2016-10166)</li>
<li><?php bugfix(77270); ?> (imagecolormatch Out Of Bounds Write on Heap). (CVE-2019-6977)</li>
<li><?php bugfix(77195); ?> (Incorrect error handling of imagecreatefromjpeg()).</li>
<li><?php bugfix(77198); ?> (auto cropping has insufficient precision).</li>
<li><?php bugfix(77200); ?> (imagecropauto(…, GD_CROP_SIDES) crops left but not right).</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77020); ?> (null pointer dereference in imap_mail).</li>
</ul></li>
<li>Mbstring:
<ul>
<li><?php bugfix(77370); ?> (Buffer overflow on mb regex functions - fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77371); ?> (heap buffer overflow in mb regex functions - compile_string_node). (CVE-2019-9023)</li>
<li><?php bugfix(77381); ?> (heap buffer overflow in multibyte match_at). (CVE-2019-9023)</li>
<li><?php bugfix(77382); ?> (heap buffer overflow due to incorrect length in expand_case_fold_string). (CVE-2019-9023)</li>
<li><?php bugfix(77385); ?> (buffer overflow in fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77394); ?> (Buffer overflow in multibyte case folding - unicode). (CVE-2019-9023)</li>
<li><?php bugfix(77418); ?> (Heap overflow in utf32be_mbc_to_code). (CVE-2019-9023)</li>
</ul></li>
<li>OCI8:
<ul>
<li><?php bugfix(76804); ?> (oci_pconnect with OCI_CRED_EXT not working).</li>
<li>Added oci_set_call_timeout() for call timeouts.</li>
<li>Added oci_set_db_operation() for the DBOP end-to-end-tracing attribute.</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77215); ?> (CFG assertion failure on multiple finalizing switch frees in one block).</li>
</ul></li>
<li>PDO:
<ul>
<li>Handle invalid index passed to PDOStatement::fetchColumn() as error.</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77247); ?> (heap buffer overflow in phar_detect_phar_fname_ext). (CVE-2019-9021)</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(77136); ?> (Unsupported IPV6_RECVPKTINFO constants on macOS).</li>
</ul></li>
<li>SQLite3:
<ul>
<li><?php bugfix(77051); ?> (Issue with re-binding on SQLite3).</li>
</ul></li>
<li>Xmlrpc:
<ul>
<li><?php bugfix(77242); ?> (heap out of bounds read in xmlrpc_decode()). (CVE-2019-9020)</li>
<li><?php bugfix(77380); ?> (Global out of bounds read in xmlrpc base64 code). (CVE-2019-9024)</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.1.26"><!-- {{{ 7.1.26 -->
<h3>Version 7.1.26</h3>
<b><?php release_date('10-Jan-2019'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77369); ?> (memcpy with negative length via crafted DNS response). (CVE-2019-9022)</li>
</ul></li>
<li>GD:
<ul>
<li><?php bugfix(77269); ?> (efree() on uninitialized Heap data in imagescale leads to use-after-free). (CVE-2016-10166)</li>
<li><?php bugfix(77270); ?> (imagecolormatch Out Of Bounds Write on Heap). (CVE-2019-6977)</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77020); ?> (null pointer dereference in imap_mail).</li>
</ul></li>
<li>Mbstring:
<ul>
<li><?php bugfix(77370); ?> (Buffer overflow on mb regex functions - fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77371); ?> (heap buffer overflow in mb regex functions - compile_string_node). (CVE-2019-9023)</li>
<li><?php bugfix(77381); ?> (heap buffer overflow in multibyte match_at). (CVE-2019-9023)</li>
<li><?php bugfix(77382); ?> (heap buffer overflow due to incorrect length in expand_case_fold_string). (CVE-2019-9023)</li>
<li><?php bugfix(77385); ?> (buffer overflow in fetch_token). (CVE-2019-9023)</li>
<li><?php bugfix(77394); ?> (Buffer overflow in multibyte case folding - unicode). (CVE-2019-9023)</li>
<li><?php bugfix(77418); ?> (Heap overflow in utf32be_mbc_to_code). (CVE-2019-9023)</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77247); ?> (heap buffer overflow in phar_detect_phar_fname_ext). (CVE-2019-9021)</li>
</ul></li>
<li>Xmlrpc:
<ul>
<li><?php bugfix(77242); ?> (heap out of bounds read in xmlrpc_decode()). (CVE-2019-9020)</li>
<li><?php bugfix(77380); ?> (Global out of bounds read in xmlrpc base64 code). (CVE-2019-9024)</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.0.33"><!-- {{{ 7.0.33 -->
<h3>Version 7.0.33</h3>
<b><?php release_date('06-Dec-2018'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(77231); ?> (Segfault when using convert.quoted-printable-encode filter).</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77020); ?> (null pointer dereference in imap_mail).</li>
<li><?php bugfix(77153); ?> (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77022); ?> (PharData always creates new files with mode 0666).</li>
<li><?php bugfix(77143); ?> (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783)</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.3.0"><!-- {{{ 7.3.0 -->
<h3>Version 7.3.0</h3>
<b><?php release_date('06-Dec-2018'); ?></b>
<ul><li>Core:
<ul>
<li>Improved PHP GC.</li>
<li>Redesigned the old ext_skel program written in PHP, run: 'php ext_skel.php' for all options. This means there are no dependencies, thus making it work on Windows out of the box.</li>
<li>Removed support for BeOS.</li>
<li>Add PHP_VERSION to phpinfo() <title/>.</li>
<li>Add net_get_interfaces().</li>
<li>Implemented flexible heredoc and nowdoc syntax, per RFC https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes.</li>
<li>Added support for references in list() and array destructuring, per RFC https://wiki.php.net/rfc/list_reference_assignment.</li>
<li>Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems without native similar feature.</li>
<li>Added syslog.facility and syslog.ident INI entries for customizing syslog logging.</li>
<li><?php bugfix(75683); ?> (Memory leak in zend_register_functions() in ZTS mode).</li>
<li><?php bugfix(75031); ?> (support append mode in temp/memory streams).</li>
<li><?php bugfix(74860); ?> (Uncaught exceptions not being formatted properly when error_log set to "syslog").</li>
<li><?php bugfix(75220); ?> (Segfault when calling is_callable on parent).</li>
<li><?php bugfix(69954); ?> (broken links and unused config items in distributed ini files).</li>
<li><?php bugfix(74922); ?> (Composed class has fatal error with duplicate, equal const properties).</li>
<li><?php bugfix(63911); ?> (identical trait methods raise errors during composition).</li>
<li><?php bugfix(75677); ?> (Clang ignores fastcall calling convention on variadic function).</li>
<li><?php bugfix(54043); ?> (Remove inconsitency of internal exceptions and user defined exceptions).</li>
<li><?php bugfix(53033); ?> (Mathematical operations convert objects to integers).</li>
<li><?php bugfix(73108); ?> (Internal class cast handler uses integer instead of float).</li>
<li><?php bugfix(75765); ?> (Fatal error instead of Error exception when base class is not found).</li>
<li><?php bugfix(76198); ?> (Wording: "iterable" is not a scalar type).</li>
<li><?php bugfix(76137); ?> (config.guess/config.sub do not recognize RISC-V).</li>
<li><?php bugfix(76427); ?> (Segfault in zend_objects_store_put).</li>
<li><?php bugfix(76422); ?> (ftruncate fails on files > 2GB).</li>
<li><?php bugfix(76509); ?> (Inherited static properties can be desynchronized from their parent by ref).</li>
<li><?php bugfix(76439); ?> (Changed behaviour in unclosed HereDoc).</li>
<li><?php bugfix(63217); ?> (Constant numeric strings become integers when used as ArrayAccess offset).</li>
<li><?php bugfix(33502); ?> (Some nullary functions don't check the number of arguments).</li>
<li><?php bugfix(76392); ?> (Error relocating sapi/cli/php: unsupported relocation type 37).</li>
<li>The declaration and use of case-insensitive constants has been deprecated.</li>
<li>Added syslog.filter INI entry for syslog filtering.</li>
<li><?php bugfix(76667); ?> (Segfault with divide-assign op and __get + __set).</li>
<li><?php bugfix(76030); ?> (RE2C_FLAGS rarely honoured) (Cristian Rodríguez)</li>
<li>Fixed broken zend_read_static_property (Laruence)</li>
<li><?php bugfix(76773); ?> (Traits used on the parent are ignored for child classes).</li>
<li><?php bugfix(76767); ?> (‘asm’ operand has impossible constraints in zend_operators.h).</li>
<li><?php bugfix(76752); ?> (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed).</li>
<li><?php bugfix(76820); ?> (Z_COPYABLE invalid definition).</li>
<li><?php bugfix(76510); ?> (file_exists() stopped working for phar://).</li>
<li><?php bugfix(76869); ?> (Incorrect bypassing protected method accessibilty check).</li>
<li><?php bugfix(72635); ?> (Undefined class used by class constant in constexpr generates fatal error).</li>
<li><?php bugfix(76947); ?> (file_put_contents() blocks the directory of the file (__DIR__)).</li>
<li><?php bugfix(76979); ?> (define() error message does not mention resources as valid values).</li>
<li><?php bugfix(76825); ?> (Undefined symbols ___cpuid_count).</li>
<li><?php bugfix(77110); ?> (undefined symbol zend_string_equal_val in C++ build).</li>
<li><?php bugfix(77231); ?> (Segfault when using convert.quoted-printable-encode filter).</li>
</ul></li>
<li>BCMath:
<ul>
<li>Implemented FR <?php bugl(67855); ?> (No way to get current scale in use).</li>
<li><?php bugfix(66364); ?> (BCMath bcmul ignores scale parameter).</li>
<li><?php bugfix(75164); ?> (split_bc_num() is pointless).</li>
<li><?php bugfix(75169); ?> (BCMath errors/warnings bypass PHP's error handling).</li>
</ul></li>
<li>CLI:
<ul>
<li><?php bugfix(44217); ?> (Output after stdout/stderr closed cause immediate exit with status 0).</li>
<li><?php bugfix(77111); ?> (php-win.exe corrupts unicode symbols from cli parameters).</li>
</ul></li>
<li>cURL:
<ul>
<li>Expose curl constants from curl 7.50 to 7.61.</li>
<li><?php bugfix(74125); ?> (Fixed finding CURL on systems with multiarch support).</li>
</ul></li>
<li>Date:
<ul>
<li>Implemented FR <?php bugl(74668); ?>: Add DateTime::createFromImmutable() method.</li>
<li><?php bugfix(75222); ?> (DateInterval microseconds property always 0).</li>
<li><?php bugfix(68406); ?> (calling var_dump on a DateTimeZone object modifies it).</li>
<li><?php bugfix(76131); ?> (mismatch arginfo for date_create).</li>
<li>Updated timelib to 2018.01RC1 to address several bugs:</li>
<li><?php bugfix(75577); ?> (DateTime::createFromFormat does not accept 'v' format specifier).</li>
<li><?php bugfix(75642); ?> (Wrap around behaviour for microseconds is not working).</li>
<li><?php bugfix(77097); ?> (DateTime::diff gives wrong diff when the actual diff is less than 1 second).</li>
</ul></li>
<li>DBA:
<ul>
<li><?php bugfix(75264); ?> (compiler warnings emitted).</li>
</ul></li>
<li>DOM:
<ul>
<li><?php bugfix(76285); ?> (DOMDocument::formatOutput attribute sometimes ignored).</li>
</ul></li>
<li>Fileinfo:
<ul>
<li><?php bugfix(77095); ?> (slowness regression in 7.2/7.3 (compared to 7.1)).</li>
</ul></li>
<li>Filter:
<ul>
<li>Added the 'add_slashes' sanitization mode (FILTER_SANITIZE_ADD_SLASHES).</li>
</ul></li>
<li>FPM:
<ul>
<li>Added fpm_get_status function.</li>
<li><?php bugfix(62596); ?> (getallheaders() missing with PHP-FPM).</li>
<li><?php bugfix(69031); ?> (Long messages into stdout/stderr are truncated incorrectly) - added new log related FPM configuration options: log_limit, log_buffering and decorate_workers_output.</li>
</ul></li>
<li>ftp:
<ul>
<li><?php bugfix(77151); ?> (ftp_close(): SSL_read on shutdown).</li>
</ul></li>
<li>GD:
<ul>
<li>Added support for WebP in imagecreatefromstring().</li>
</ul></li>
<li>GMP:
<ul>
<li>Export internal structures and accessor helpers for GMP object.</li>
<li>Added gmp_binomial(n, k).</li>
<li>Added gmp_lcm(a, b).</li>
<li>Added gmp_perfect_power(a).</li>
<li>Added gmp_kronecker(a, b).</li>
</ul></li>
<li>iconv:
<ul>
<li><?php bugfix(53891); ?> (iconv_mime_encode() fails to Q-encode UTF-8 string).</li>
<li><?php bugfix(77147); ?> (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR).</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77153); ?> (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)</li>
<li><?php bugfix(77020); ?> (null pointer dereference in imap_mail).</li>
</ul></li>
<li>Interbase:
<ul>
<li><?php bugfix(75453); ?> (Incorrect reflection for ibase_[p]connect).</li>
<li><?php bugfix(76443); ?> (php+php_interbase.dll crash on module_shutdown).</li>
</ul></li>
<li>intl:
<ul>
<li><?php bugfix(75317); ?> (UConverter::setDestinationEncoding changes source instead of destination).</li>
<li><?php bugfix(76829); ?> (Incorrect validation of domain on idn_to_utf8() function).</li>
</ul></li>
<li>JSON:
<ul>
<li>Added JSON_THROW_ON_ERROR flag.</li>
</ul></li>
<li>LDAP:
<ul>
<li>Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay.</li>
<li>Added full support for sending and parsing ldap controls.</li>
<li><?php bugfix(49876); ?> (Fix LDAP path lookup on 64-bit distros).</li>
</ul></li>
<li>libxml2:
<ul>
<li><?php bugfix(75871); ?> (use pkg-config where available).</li>
</ul></li>
<li>litespeed:
<ul>
<li><?php bugfix(75248); ?> (Binary directory doesn't get created when building only litespeed SAPI).</li>
<li><?php bugfix(75251); ?> (Missing program prefix and suffix).</li>
</ul></li>
<li>MBstring:
<ul>
<li>Updated to Oniguruma 6.9.0.</li>
<li><?php bugfix(65544); ?> (mb title case conversion-first word in quotation isn't capitalized).</li>
<li><?php bugfix(71298); ?> (MB_CASE_TITLE misbehaves with curled apostrophe/quote).</li>
<li><?php bugfix(73528); ?> (Crash in zif_mb_send_mail).</li>
<li><?php bugfix(74929); ?> (mbstring functions version 7.1.1 are slow compared to 5.3 on Windows).</li>
<li><?php bugfix(76319); ?> (mb_strtolower with invalid UTF-8 causes segmentation fault).</li>
<li><?php bugfix(76574); ?> (use of undeclared identifiers INT_MAX and LONG_MAX).</li>
<li><?php bugfix(76594); ?> (Bus Error due to unaligned access in zend_ini.c OnUpdateLong).</li>
<li><?php bugfix(76706); ?> (mbstring.http_output_conv_mimetypes is ignored).</li>
<li><?php bugfix(76958); ?> (Broken UTF7-IMAP conversion).</li>
<li><?php bugfix(77025); ?> (mb_strpos throws Unknown encoding or conversion error).</li>
<li><?php bugfix(77165); ?> (mb_check_encoding crashes when argument given an empty array).</li>
</ul></li>
<li>Mysqlnd:
<ul>
<li><?php bugfix(76386); ?> (Prepared Statement formatter truncates fractional seconds from date/time column).</li>
</ul></li>
<li>ODBC:
<ul>
<li>Removed support for ODBCRouter.</li>
<li>Removed support for Birdstep.</li>
<li><?php bugfix(77079); ?> (odbc_fetch_object has incorrect type signature).</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(76466); ?> (Loop variable confusion).</li>
<li><?php bugfix(76463); ?> (var has array key type but not value type).</li>
<li><?php bugfix(76446); ?> (zend_variables.c:73: zend_string_destroy: Assertion `!(zval_gc_flags((str)->gc)).</li>
<li><?php bugfix(76711); ?> (OPcache enabled triggers false-positive "Illegal string offset").</li>
<li><?php bugfix(77058); ?> (Type inference in opcache causes side effects).</li>
<li><?php bugfix(77092); ?> (array_diff_key() - segmentation fault).</li>
</ul></li>
<li>OpenSSL:
<ul>
<li>Added openssl_pkey_derive function.</li>
<li>Add min_proto_version and max_proto_version ssl stream options as well as related constants for possible TLS protocol values.</li>
</ul></li>
<li>PCRE:
<ul>
<li>Implemented https://wiki.php.net/rfc/pcre2-migration.</li>
<li>Upgrade PCRE2 to 10.32.</li>
<li><?php bugfix(75355); ?> (preg_quote() does not quote # control character).</li>
<li><?php bugfix(76512); ?> (\w no longer includes unicode characters).</li>
<li><?php bugfix(76514); ?> (Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR).</li>
<li><?php bugfix(76909); ?> (preg_match difference between 7.3 and < 7.3).</li>
</ul></li>
<li>PDO_DBlib:
<ul>
<li>Implemented FR <?php bugl(69592); ?> (allow 0-column rowsets to be skipped automatically).</li>
<li>Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO instance.</li>
<li>Treat DATETIME2 columns like DATETIME.</li>
<li><?php bugfix(74243); ?> (allow locales.conf to drive datetime format).</li>
</ul></li>
<li>PDO_Firebird:
<ul>
<li><?php bugfix(74462); ?> (PDO_Firebird returns only NULLs for results with boolean for FIREBIRD >= 3.0).</li>
</ul></li>
<li>PDO_OCI:
<ul>
<li><?php bugfix(74631); ?> (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up).</li>
</ul></li>
<li>PDO SQLite:
<ul>
<li>Add support for additional open flags</li>
</ul></li>
<li>pgsql:
<ul>
<li>Added new error constants for pg_result_error(): PGSQL_DIAG_SCHEMA_NAME, PGSQL_DIAG_TABLE_NAME, PGSQL_DIAG_COLUMN_NAME, PGSQL_DIAG_DATATYPE_NAME, PGSQL_DIAG_CONSTRAINT_NAME and PGSQL_DIAG_SEVERITY_NONLOCALIZED.</li>
<li><?php bugfix(77047); ?> (pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type).</li>
</ul></li>
<li>phar:
<ul>
<li><?php bugfix(74991); ?> (include_path has a 4096 char limit in some cases).</li>
<li><?php bugfix(65414); ?> (deal with leading slash when adding files correctly).</li>
<li><?php bugfix(77022); ?> (PharData always creates new files with mode 0666).</li>
<li><?php bugfix(77143); ?> (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783)</li>
</ul></li>
<li>readline:
<ul>
<li>Added completion_append_character and completion_suppress_append options to readline_info() if linked against libreadline.</li>
</ul></li>
<li>Session:
<ul>
<li><?php bugfix(74941); ?> (session fails to start after having headers sent).</li>
</ul></li>
<li>SimpleXML:
<ul>
<li><?php bugfix(54973); ?> (SimpleXML casts integers wrong).</li>
<li><?php bugfix(76712); ?> (Assignment of empty string creates extraneous text node).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(67619); ?> (Validate length on socket_write).</li>
</ul></li>
<li>SOAP:
<ul>
<li><?php bugfix(75464); ?> (Wrong reflection on SoapClient::__setSoapHeaders).</li>
<li><?php bugfix(70469); ?> (SoapClient generates E_ERROR even if exceptions=1 is used).</li>
<li><?php bugfix(50675); ?> (SoapClient can't handle object references correctly).</li>
<li><?php bugfix(76348); ?> (WSDL_CACHE_MEMORY causes Segmentation fault).</li>
<li><?php bugfix(77141); ?> (Signedness issue in SOAP when precision=-1).</li>
</ul></li>
<li>SPL:
<ul>
<li><?php bugfix(74977); ?> (Appending AppendIterator leads to segfault).</li>
<li><?php bugfix(75173); ?> (incorrect behavior of AppendIterator::append in foreach loop).</li>
<li><?php bugfix(74372); ?> (autoloading file with syntax error uses next autoloader, may hide parse error).</li>
<li><?php bugfix(75878); ?> (RecursiveTreeIterator::setPostfix has wrong signature).</li>
<li><?php bugfix(74519); ?> (strange behavior of AppendIterator).</li>
<li><?php bugfix(76131); ?> (mismatch arginfo for splarray constructor).</li>
</ul></li>
<li>SQLite3:
<ul>
<li>Updated bundled libsqlite to 3.24.0.</li>
</ul></li>
<li>Standard:
<ul>
<li>Added is_countable() function.</li>
<li>Added support for the SameSite cookie directive, including an alternative signature for setcookie(), setrawcookie() and session_set_cookie_params().</li>
<li>Remove superfluous warnings from inet_ntop()/inet_pton().</li>
<li><?php bugfix(75916); ?> (DNS_CAA record results contain garbage).</li>
<li>Fixed unserialize(), to disable creation of unsupported data structures through manually crafted strings.</li>
<li><?php bugfix(75409); ?> (accept EFAULT in addition to ENOSYS as indicator that getrandom() is missing).</li>
<li><?php bugfix(74719); ?> (fopen() should accept NULL as context).</li>
<li><?php bugfix(69948); ?> (path/domain are not sanitized in setcookie).</li>
<li><?php bugfix(75996); ?> (incorrect url in header for mt_rand).</li>
<li>Added hrtime() function, to get high resolution time.</li>
<li><?php bugfix(48016); ?> (stdClass::__setState is not defined although var_export() uses it).</li>
<li><?php bugfix(76136); ?> (stream_socket_get_name should enclose IPv6 in brackets).</li>
<li><?php bugfix(76688); ?> (Disallow excessive parameters after options array).</li>
<li><?php bugfix(76713); ?> (Segmentation fault caused by property corruption).</li>
<li><?php bugfix(76755); ?> (setcookie does not accept "double" type for expire time).</li>
<li><?php bugfix(76674); ?> (improve array_* failure messages exposing what was passed instead of an array).</li>
<li><?php bugfix(76803); ?> (ftruncate changes file pointer).</li>
<li><?php bugfix(76818); ?> (Memory corruption and segfault).</li>
<li><?php bugfix(77081); ?> (ftruncate() changes seek pointer in c mode).</li>
</ul></li>
<li>Testing:
<ul>
<li>Implemented FR <?php bugl(62055); ?> (Make run-tests.php support --CGI-- sections).</li>
</ul></li>
<li>Tidy:
<ul>
<li>Support using tidyp instead of tidy.</li>
<li><?php bugfix(74707); ?> (Tidy has incorrect ReflectionFunction param counts for functions taking tidy).</li>
<li>Fixed arginfo for tidy::__construct().</li>
</ul></li>
<li>Tokenizer:
<ul>
<li><?php bugfix(76437); ?> (token_get_all with TOKEN_PARSE flag fails to recognise close tag).</li>
<li><?php bugfix(75218); ?> (Change remaining uncatchable fatal errors for parsing into ParseError).</li>
<li><?php bugfix(76538); ?> (token_get_all with TOKEN_PARSE flag fails to recognise close tag with newline).</li>
<li><?php bugfix(76991); ?> (Incorrect tokenization of multiple invalid flexible heredoc strings).</li>
</ul></li>
<li>XML:
<ul>
<li><?php bugfix(71592); ?> (External entity processing never fails).</li>
</ul></li>
<li>Zlib:
<ul>
<li>Added zlib/level context option for compress.zlib wrapper.</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.2.13"><!-- {{{ 7.2.13 -->
<h3>Version 7.2.13</h3>
<b><?php release_date('06-Dec-2018'); ?></b>
<ul><li>ftp:
<ul>
<li><?php bugfix(77151); ?> (ftp_close(): SSL_read on shutdown).</li>
</ul></li>
<li>CLI:
<ul>
<li><?php bugfix(77111); ?> (php-win.exe corrupts unicode symbols from cli parameters).</li>
</ul></li>
<li>Fileinfo:
<ul>
<li><?php bugfix(77095); ?> (slowness regression in 7.2/7.3 (compared to 7.1)).</li>
</ul></li>
<li>iconv:
<ul>
<li><?php bugfix(77147); ?> (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR).</li>
</ul></li>
<li>Core:
<ul>
<li><?php bugfix(77231); ?> (Segfault when using convert.quoted-printable-encode filter).</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77153); ?> (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)</li>
</ul></li>
<li>ODBC:
<ul>
<li><?php bugfix(77079); ?> (odbc_fetch_object has incorrect type signature).</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77058); ?> (Type inference in opcache causes side effects).</li>
<li><?php bugfix(77092); ?> (array_diff_key() - segmentation fault).</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77022); ?> (PharData always creates new files with mode 0666).</li>
<li><?php bugfix(77143); ?> (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783)</li>
</ul></li>
<li>PGSQL:
<ul>
<li><?php bugfix(77047); ?> (pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type).</li>
</ul></li>
<li>SOAP:
<ul>
<li><?php bugfix(50675); ?> (SoapClient can't handle object references correctly).</li>
<li><?php bugfix(76348); ?> (WSDL_CACHE_MEMORY causes Segmentation fault).</li>
<li><?php bugfix(77141); ?> (Signedness issue in SOAP when precision=-1).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(67619); ?> (Validate length on socket_write).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.1.25"><!-- {{{ 7.1.25 -->
<h3>Version 7.1.25</h3>
<b><?php release_date('06-Dec-2018'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(71041); ?> (zend_signal_startup() needs ZEND_API).</li>
<li><?php bugfix(77231); ?> (Segfault when using convert.quoted-printable-encode filter).</li>
</ul></li>
<li>ftp:
<ul>
<li><?php bugfix(77151); ?> (ftp_close(): SSL_read on shutdown).</li>
</ul></li>
<li>iconv:
<ul>
<li><?php bugfix(77147); ?> (Fixing 60494 ignored ICONV_MIME_DECODE_CONTINUE_ON_ERROR).</li>
</ul></li>
<li>IMAP:
<ul>
<li><?php bugfix(77153); ?> (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)</li>
</ul></li>
<li>ODBC:
<ul>
<li><?php bugfix(77079); ?> (odbc_fetch_object has incorrect type signature).</li>
</ul></li>
<li>Opcache:
<ul>
<li><?php bugfix(77058); ?> (Type inference in opcache causes side effects).</li>
</ul></li>
<li>Phar:
<ul>
<li><?php bugfix(77022); ?> (PharData always creates new files with mode 0666).</li>
<li><?php bugfix(77143); ?> (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783)</li>
</ul></li>
<li>PGSQL:
<ul>
<li><?php bugfix(77047); ?> (pg_convert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type).</li>
</ul></li>
<li>SOAP:
<ul>
<li><?php bugfix(76348); ?> (WSDL_CACHE_MEMORY causes Segmentation fault).</li>
<li><?php bugfix(77141); ?> (Signedness issue in SOAP when precision=-1).</li>
</ul></li>
<li>Sockets:
<ul>
<li><?php bugfix(67619); ?> (Validate length on socket_write).</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="7.2.12"><!-- {{{ 7.2.12 -->
<h3>Version 7.2.12</h3>
<b><?php release_date('08-Nov-2018'); ?></b>
<ul><li>Core:
<ul>
<li><?php bugfix(76846); ?> (Segfault in shutdown function after memory limit error).</li>
<li><?php bugfix(76946); ?> (Cyclic reference in generator not detected).</li>
<li><?php bugfix(77035); ?> (The phpize and ./configure create redundant .deps file).</li>
<li><?php bugfix(77041); ?> (buildconf should output error messages to stderr) (Mizunashi Mana)</li>
</ul></li>
<li>Date:
<ul>
<li>Upgraded timelib to 2017.08.</li>
<li><?php bugfix(75851); ?> (Year component overflow with date formats "c", "o", "r" and "y").</li>
<li><?php bugfix(77007); ?> (fractions in `diff()` are not correctly normalized).</li>
</ul></li>
<li>FCGI:
<ul>
<li><?php bugfix(76948); ?> (Failed shutdown/reboot or end session in Windows).</li>
<li><?php bugfix(76954); ?> (apache_response_headers removes last character from header name).</li>
</ul></li>
<li>FTP:
<ul>
<li><?php bugfix(76972); ?> (Data truncation due to forceful ssl socket shutdown).</li>
</ul></li>
<li>intl:
<ul>
<li><?php bugfix(76942); ?> (U_ARGUMENT_TYPE_MISMATCH).</li>
</ul></li>
<li>Reflection:
<ul>
<li><?php bugfix(76936); ?> (Objects cannot access their private attributes while handling reflection errors).</li>
<li><?php bugfix(66430); ?> (ReflectionFunction::invoke does not invoke closure with object scope).</li>
</ul></li>
<li>Sodium:
<ul>
<li>Some base64 outputs were truncated; this is not the case any more.</li>
<li>block sizes >= 256 bytes are now supposed by sodium_pad() even when an old version of libsodium has been installed.</li>
<li><?php bugfix(77008); ?> (sodium_pad() could read (but not return nor write) uninitialized memory when trying to pad an empty input).</li>
</ul></li>
<li>Standard:
<ul>
<li><?php bugfix(76965); ?> (INI_SCANNER_RAW doesn't strip trailing whitespace).</li>
</ul></li>
<li>Tidy:
<ul>
<li><?php bugfix(77027); ?> (tidy::getOptDoc() not available on Windows).</li>
</ul></li>
<li>XML:
<ul>
<li><?php bugfix(30875); ?> (xml_parse_into_struct() does not resolve entities).</li>
<li>Add support for getting SKIP_TAGSTART and SKIP_WHITE options.</li>
</ul></li>
<li>XMLRPC: