You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2018. It is now read-only.
Below are the code changes of the attached file:
1. The 'import' and 'package' specifiers is supported in
parser/pb_parser.php
2. Added bytes scalar types to parser/pb_parser.php
3. Fixed a bug in the set_value() function in
message/encoding/pb_base128.php
- If the length of $newstring is larger than 32, the following lines
will result in an integer overflow. Avoid to use bindec() in this case.
$hexstring = dechex(bindec($newstring));
4. Fixed a bug in the SerializeToString() function in
message/pb_message.php
- Use strlen($stringinner) instead of mb_strlen($stringinner), or the
length might be incorrect if the internal character encoding is UTF8 or
others.
5. Replace the name of WIRED_STRING with WIRED_LENGTH_DELIMITED, which
would be a proper name announced by Google.
6. Remove the 'var_dump()' code from message/type/pb_bool.php
Original issue reported on code.google.com by che...@gmail.com on 5 Mar 2009 at 3:45
Sorry, fixed a typo in above report list:
Original one:
"If the length of $newstring is larger than 32, ..."
New one:
"If the length of $newstring is larger than 32*8, ..."
Original comment by che...@gmail.com on 5 Mar 2009 at 3:56
Original issue reported on code.google.com by
che...@gmail.com
on 5 Mar 2009 at 3:45Attachments:
The text was updated successfully, but these errors were encountered: