Skip to content

Commit

Permalink
Fix memory estimates and formatting checks
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Aggarwal <[email protected]>
  • Loading branch information
aggarg committed Jul 1, 2024
1 parent 0128112 commit f80490c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/doxygen/include/size_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</tr>
<tr>
<td>core_json.c</td>
<td><center>2.9K</center></td>
<td><center>2.4K</center></td>
<td><center>3.1K</center></td>
<td><center>2.5K</center></td>
</tr>
<tr>
<td><b>Total estimates</b></td>
<td><b><center>2.9K</center></b></td>
<td><b><center>2.4K</center></b></td>
<td><b><center>3.1K</center></b></td>
<td><b><center>2.5K</center></b></td>
</tr>
</table>
2 changes: 2 additions & 0 deletions source/core_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,10 +1121,12 @@ static JSONStatus_t skipCollection( const char * buf,
}

stack[ depth ] = c;

if( skipScalars( buf, &i, max, stack[ depth ] ) != true )
{
ret = JSONIllegalDocument;
}

break;

case '}':
Expand Down

0 comments on commit f80490c

Please sign in to comment.