0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-18 19:03:44 +02:00

ircd::json: Fix mismatched serialized size propagating through value copy.

This commit is contained in:
Jason Volk 2023-03-23 18:26:16 -07:00
parent 66629046e1
commit a8c16e0fd0

View file

@ -4138,7 +4138,7 @@ ircd::json::value::value(const json::members &members)
ircd::json::value::value(const value &other)
:integer{other.integer}
,len{other.len}
,len{other.serial? serialized(other): other.len}
,type{other.type}
,serial{other.serial}
,alloc{other.alloc}