Rémi Bernon (@rbernon) commented about dlls/windows.web/json_value.c:
DEFINE_IINSPECTABLE( json_value_statics, IJsonValueStatics, struct json_value_statics, IActivationFactory_iface )
+static HRESULT validate_json( HSTRING input, JsonValueType *json_value_type, double *parsed_number, boolean *parsed_boolean ) +{
- BOOL in_string = FALSE, expect_comma = FALSE, expect_value = TRUE;
- int square_brackets = 0, curly_brackets = 0;
- const WCHAR *json = WindowsGetStringRawBuffer( input, NULL );
- UINT json_len = wcslen( json );
```suggestion:-1+0 UINT json_len; const WCHAR *json = WindowsGetStringRawBuffer( input, &json_len ); ```