Better HN
topnewbestaskshowjobs
Log inSign up

braindeadly

6 karma · joined Nov 8, 2023 (3y ago) · 2 submissions

Submissions

comment 5mo ago · link · parent

Looks like Mike and Ike candy.

comment 1y ago · link · parent

From the webpage:

"Go WASM is slow at parsing large amounts of JSON, which led to dramatic architecture changes and the creation of a “smart backend” for incremental data loading over WebSockets, using Go's rarely-used encoding/gob format."

From https://pkg.go.dev/encoding/gob

"This package is not designed to be hardened against adversarial inputs, and is outside the scope of https://go.dev/security/policy. In particular, the Decoder does only basic sanity checking on decoded input sizes, and its limits are not configurable. Care should be taken when decoding gob data from untrusted sources, which may consume significant resources."

How do they sanitize the gob data?