Skip to content

spa-json: Fix conditional jump on uninitialised value when adding empty strings to builder

Similar to wp_spa_json_builder_add_property(), we need to make sure the dst array in wp_spa_json_builder_add_string() has room for the null character because builder_add() expects it.

Fixes #471 (closed)

Merge request reports

Loading