History log of /PHP-8.1/ext/standard/base64.c (Results 26 – 50 of 139)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 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
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 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
# 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)


# 77e8c299 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 ...


# 6d17ee74 25-May-2016 Lauri Kenttä

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


123456