mongoose icon indicating copy to clipboard operation
mongoose copied to clipboard

Null pointer dereferences (NULL_RETURNS) in mg_timer_add()

Open jameshilliard opened this issue 3 years ago • 0 comments

I'm seeing this get flagged by coverity: https://github.com/cesanta/mongoose/blob/0a265e79a67d7bfcdca27f2ccb98ccb474677ec6/src/net.c#L227

Dereferencing a pointer that might be "NULL" "t" when calling "mg_timer_init".

jameshilliard avatar Sep 18 '22 23:09 jameshilliard