Skip to content

Commit

Permalink
Null check
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhaKanhere committed Mar 19, 2021
1 parent 7d12d86 commit b541382
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ BaseType_t xNetworkInterfaceOutput( NetworkBufferDescriptor_t * pxDescriptor,
{
BaseType_t xReturn;

__CPROVER_assert( pxDescriptor, "The descriptor cannot be NULL" );
__CPROVER_assert( pxDescriptor->pucEthernetBuffer, "The ethernet buffer cannot be NULL" );

return xReturn;
}

Expand Down

0 comments on commit b541382

Please sign in to comment.