Page MenuHomeSolus

Update perl-json-xs to 3.04
ClosedPublic

Authored by simniotiqu on Jan 26 2018, 10:26 PM.
Tags
None
Referenced Files
F11068641: D2104.diff
Fri, Aug 11, 10:06 PM
F11017533: D2104.diff
Sun, Aug 6, 3:07 AM
F11001836: D2104.diff
Sun, Jul 30, 5:20 PM
F10985026: D2104.id5285.diff
Sun, Jul 23, 7:59 PM
F10975157: D2104.diff
Sat, Jul 22, 4:01 AM
F10954963: D2104.id5285.diff
Mon, Jul 17, 4:54 AM
F10795734: D2104.diff
May 27 2023, 10:26 PM
F10709002: D2104.id.diff
Apr 27 2023, 9:57 PM
Subscribers
None

Details

Summary
  • Added tests
  • change exponential realloc algorithm on encoding and string decoding to be really exponential
  • string encoding would needlessly overallocate output space
  • be very paranoid about extending buffer lengths and croak if buffers get too large, which might (or might not) improve security.
  • add cbor-packed type to json_xs.
  • switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
Test Plan

Installed and ran youtube-viewer

Diff Detail

Repository
R3519 perl-json-xs
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

sunnyflunk edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 6 2018, 4:18 AM
This revision was automatically updated to reflect the committed changes.