History log of /PHP-8.2/ext/standard/base64.c (Results 26 – 50 of 131)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 966923f4 01-Mar-2018 Xinchen Hui

Attempt to fix build again

seems if a cpu supports avx2 but not ssse3, the build will fail. but how
could that possible... :<

# fd208e82 01-Mar-2018 Xinchen Hui

Attempt to fix build reported fails in containers

Revision tags: php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# 1bdf7abb 18-Feb-2018 Anatol Belski

Fix possible int overflow on vars used in loop with size_t counter

Revision tags: php-7.2.3RC1, php-7.1.15RC1
# 6de9c91b 12-Feb-2018 Xinchen Hui

Update author info

# cf0fae5e 12-Feb-2018 Xinchen Hui

Optimized base64_encode/decode with SIMD instructions

Revision tags: php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++

Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1
# 3de82a03 15-Jul-2017 Sara Golemon

Provide zend_string wrappers for php_base64_(en|de)code

Also pull existing php_base64_decode() proxy out to an inline.
Bump PHP_API_VERSION for ABI change.

Revision tags: php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017

# 54c13295 30-Dec-2016 Sara Golemon

Use new param API in standard

Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10
# ce6ad9bd 17-Aug-2016 Xinchen Hui

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0: (48 commits)
Update NEWs
Unused label
Fixed bug #72853 (stream_set_blocking doesn't work)
fix test
Bug #72663 - p

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0: (48 commits)
Update NEWs
Unused label
Fixed bug #72853 (stream_set_blocking doesn't work)
fix test
Bug #72663 - part 3
Bug #72663 - part 2
Bug #72663 - part 1
Update NEWS
BLock test with memory leak
fix tests
Fix TSRM build
Fix bug #72850 - integer overflow in uuencode
Fixed bug #72849 - integer overflow in urlencode
Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption
Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
Fix bug #72836 - integer overflow in base64_decode caused heap corruption
Fix for bug #72807 - do not produce strings with negative length
Fix for bug #72790 and bug #72799
Fix bug #72730 - imagegammacorrect allows arbitrary write access
...

Conflicts:
ext/standard/var_unserializer.c

show more ...


# 0d13325b 17-Aug-2016 Stanislav Malyshev

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6: (24 commits)
Update NEWS
BLock test with memory leak
fix tests
Fix TSRM build
Fix bug #72850 - integer overflow i

Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6: (24 commits)
Update NEWS
BLock test with memory leak
fix tests
Fix TSRM build
Fix bug #72850 - integer overflow in uuencode
Fixed bug #72849 - integer overflow in urlencode
Fix bug #72848 - integer overflow in quoted_printable_encode caused heap corruption
Fix bug #72838 - Integer overflow lead to heap corruption in sql_regcase
Fix bug #72837 - integer overflow in bzdecompress caused heap corruption
Fix bug #72836 - integer overflow in base64_decode caused heap corruption
Fix for bug #72807 - do not produce strings with negative length
Fix for bug #72790 and bug #72799
Fix bug #72730 - imagegammacorrect allows arbitrary write access
Fix bug#72697 - select_colors write out-of-bounds
Fixed bug #72627: Memory Leakage In exif_process_IFD_in_TIFF
Fix bug #72750: wddx_deserialize null dereference
Fix bug #72771: ftps:// opendir wrapper is vulnerable to protocol downgrade attack
Improve fix for #72663
Fix bug #70436: Use After Free Vulnerability in unserialize()
Fix bug #72749: wddx_deserialize allows illegal memory access
...

Conflicts:
Zend/zend_API.h
ext/bz2/bz2.c
ext/curl/interface.c
ext/ereg/ereg.c
ext/exif/exif.c
ext/gd/gd.c
ext/gd/tests/imagetruecolortopalette_error3.phpt
ext/gd/tests/imagetruecolortopalette_error4.phpt
ext/session/session.c
ext/snmp/snmp.c
ext/standard/base64.c
ext/standard/ftp_fopen_wrapper.c
ext/standard/quot_print.c
ext/standard/url.c
ext/standard/uuencode.c
ext/standard/var.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
ext/wddx/tests/bug72790.phpt
ext/wddx/tests/bug72799.phpt
ext/wddx/wddx.c
sapi/cli/generate_mime_type_map.php

show more ...


# 40bd921c 16-Aug-2016 Stanislav Malyshev

Fix TSRM build

# d6a43a85 15-Aug-2016 Stanislav Malyshev

Fix bug #72836 - integer overflow in base64_decode caused heap corruption

Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# bb51da29 22-Jul-2016 Nikita Popov

Make base64_decode() in non-strict mode binary safe

Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# 316d5a19 11-Jul-2016 Lauri Kenttä

base64_decode: Handle all invalid padding equally

# 5c62f3f6 11-Jul-2016 Lauri Kenttä

base64_decode: strict: Fail on excessive padding

# 586a0761 11-Jul-2016 Lauri Kenttä

base64_decode: strict: Fail on truncated input

# 0981e5de 11-Jul-2016 Lauri Kenttä

base64_decode: Avoid code duplication in failures

Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22
# 31047599 25-May-2016 Lauri Kenttä

base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)

# 02594594 25-May-2016 Lauri Kenttä

base64_decode: remove redundant code

case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the de

base64_decode: remove redundant code

case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).

case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.

show more ...

# c1ac081b 25-May-2016 Lauri Kenttä

base64_decode: fix bug #72263 (skips char after padding)

# b9c9be13 25-May-2016 Lauri Kenttä

base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)

This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in s

base64_decode: fix bug #72152 (fail on NUL bytes in strict mode)

This added check is actually for NOT failing in NON-strict mode.
The ch == -2 check later causes the desired failure in strict mode.

show more ...

# ef6f1631 25-May-2016 Lauri Kenttä

base64_decode: remove redundant check

If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the i

base64_decode: remove redundant check

If length == 0 || *current != '=' is false, the for loop will always
end up in this same point, until the if statement becomes true.
Thus, the if statement is not needed.

show more ...

# c65de8ac 25-May-2016 Lauri Kenttä

base64_decode: reorder to fix out of bounds read

# 3380acbd 25-May-2016 Lauri Kenttä

base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)

123456