summaryrefslogtreecommitdiff
path: root/src/tests/disabled_functions_param_array.phpt
diff options
context:
space:
mode:
authorjvoisin2017-09-29 17:17:54 +0200
committerGitHub2017-09-29 17:17:54 +0200
commitb5628fcc599919711171a5154f37ad90bd6b5065 (patch)
tree545766f8293039a6df41ffacf4fa5f51d09698a6 /src/tests/disabled_functions_param_array.phpt
parente010aadf08350a242527a0a98a3b67fe25607b98 (diff)
Fix two cookie encryption issues found by @cfreal, and a bonus one (#18)
* Fix a cookie encryption issue found by @cfreal - Use the base64-decoded payload length to allocate memory to decrypt it, instead of allocating the length of the undecoded one. This has no security impact, since the base64-encoded string is at least as large as the decoded one. Since we're using AEAD, there is no way to leak memory, since this would make the decryption fail.
Diffstat (limited to 'src/tests/disabled_functions_param_array.phpt')
0 files changed, 0 insertions, 0 deletions