forked from espressif/esp-idf
fix(lwip): Fix null dereference if we cannot allocate semaphore
* Update submodule: git log --oneline f7922143..a1bd9e44 Detailed description of the changes: - api_msg: Fix crash to fail-safe error if cannot get semaphore (espressif/esp-lwip@a1bd9e44)
This commit is contained in:
committed by
David Čermák
parent
31253679d9
commit
a8eed53bc2
Submodule components/lwip/lwip updated: f79221431f...a1bd9e441b
@@ -63,7 +63,7 @@ void sys_delay_ms(uint32_t ms);
|
||||
*/
|
||||
#define sys_mbox_set_invalid( x ) *x = NULL
|
||||
|
||||
#define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
||||
#define sys_sem_valid( x ) ( ( (x) == NULL ) ? pdFALSE : ( ( *x ) == NULL ? pdFALSE : pdTRUE ) )
|
||||
#define sys_sem_set_invalid( x ) ( ( *x ) = NULL )
|
||||
|
||||
void sys_delay_ms(uint32_t ms);
|
||||
|
Reference in New Issue
Block a user