This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Storable u64: support string length >2GB, array len and evtl hash length #121
Comments
For p5p: The fix is in https://github.com/perl11/cperl/commits/master more previous (also security) Storable fixes are in: The underlying 2g-4g perl core security problems are then |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hash keys are upstream at STRLEN length, but hash iterators to I32.
array keys are limited upstream to SSize_t (31/63bit).
in storable they are limited for string lengths, array and hash keys to I32 (31bit).
see branch https://github.com/perl11/cperl/commits/bugfix/gh121-storable-u64
add a new mark: LOBJECT (large object), followed by the mark of the following object: LSTRING, LUTF8STR, ARRAY, FLAGS_HASH or HASH, a u64 length and the data for the object.
this can also be used by 32bit systems, for the I32-U32 range.
The text was updated successfully, but these errors were encountered: