Skip to content

Commit

Permalink
jsonbuilder: add checks when allocating memory
Browse files Browse the repository at this point in the history
Before growing any buffers use try_reserve to reserve the space required
as this will return an error on allocation failures.

Ticket: OISF#6057
  • Loading branch information
jasonish committed May 18, 2023
1 parent 0de936f commit 29fa124
Showing 1 changed file with 149 additions and 92 deletions.

0 comments on commit 29fa124

Please sign in to comment.