Skip to content

Conversation

@pilif
Copy link
Contributor

@pilif pilif commented Sep 3, 2014

this fixes a regression from 6c2a806
which caused bug 67955:

smart_str_appendl is expecting the length as the length of the string,
but key_length is the byte length of the key, including the 0
terminator.

As such, the cookie name appended to the header would now also include
the 0 terminator of the key name which then would be sent to the server.

this fixes a regression from 6c2a806.

smart_str_appendl is expecting the length as the length of the string,
but key_length is the byte length of the key, including the 0
terminator.

As such, the cookie name appeneded to the header would now also include
the 0 terminator of the key name which then would be sent to the server.
@php-pulls php-pulls merged commit 9befa8c into php:PHP-5.6 Sep 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants