You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patch suggestion:
Replace the code at lines 406-415 with the following code:
if (PB_LTYPE(type) == PB_LTYPE_SUBMESSAGE &&
*(pb_size_t*)iter->pSize != iter->pos->tag)
{
/* We memset to zero so that any callbacks are set to NULL.
* This is because the callbacks might otherwise have values
* from some other union field. */
memset(iter->pData, 0, iter->pos->data_size);
pb_message_set_to_defaults((const pb_field_t*)iter->pos->ptr, iter->pData);
}
*(pb_size_t*)iter->pSize = iter->pos->tag;
return func(stream, iter->pos, iter->pData);
ltcdCai
changed the title
[Security report]: Patch for CVE-2020-26243 found in reused component nanopb by using V1SCAN
[Security report]: Patch for CVE-2020-26243 & CVE-2020-5235 found in reused component nanopb by using V1SCAN
Oct 8, 2024
Contact me:
[email protected]
References:
Steps to reproduce it
Patch suggestion:
Replace the code at lines 406-415 with the following code:
Patch suggestion:
Replace the code at lines 658-662 with the following code:
The text was updated successfully, but these errors were encountered: