We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Greetings! I've been investigating lua-nginx-module with Svace static analyzer and it found a curious method to look at.
lua-nginx-module/src/ngx_http_lua_socket_tcp.c
Lines 1629 to 1881 in 004922e
Here the return value of method incovation SSL_set_tlsext_status_type() (which calls SSL_ctrl() under the hood) is not checked at the following cases:
SSL_set_tlsext_status_type()
SSL_ctrl()
Lines 1791 to 1792 in 004922e
and
Line 1838 in 004922e
but usually it is checked for the function SSL_ctrl()
After a long research and official OpenSSL docs read I'm still not sure if it's correct not to check the returning value in the cases above.
What do you think about this?
Found by Linux Verification Center (linuxtesting.org) with SVACE.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Greetings! I've been investigating lua-nginx-module with Svace static analyzer and it found a curious method to look at.
lua-nginx-module/src/ngx_http_lua_socket_tcp.c
Lines 1629 to 1881 in 004922e
Here the return value of method incovation
SSL_set_tlsext_status_type()
(which callsSSL_ctrl()
under the hood) is not checked at the following cases:lua-nginx-module/src/ngx_http_lua_socket_tcp.c
Lines 1791 to 1792 in 004922e
and
lua-nginx-module/src/ngx_http_lua_socket_tcp.c
Line 1838 in 004922e
but usually it is checked for the function
SSL_ctrl()
The Question:
After a long research and official OpenSSL docs read I'm still not sure if it's correct not to check the returning value in the cases above.
What do you think about this?
Found by Linux Verification Center (linuxtesting.org) with SVACE.
The text was updated successfully, but these errors were encountered: