Avoid dereferencing NULL file pointer after url_fclose()
The file pointer is being freed by url_fclose() so we must copy the members of the struct we need for error reporting before invoking, the current coding causes a NULL pointer dereference. Reported by Coverity scanning.
Showing
想要评论请 注册 或 登录