mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
lgtm.yml
This commit is contained in:
parent
6c53da692e
commit
5985f817da
2 changed files with 4 additions and 1 deletions
3
lgtm.yml
Normal file
3
lgtm.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
queries:
|
||||
- exclude: cpp/short-global-name
|
||||
- exclude: cpp/useless-expression
|
|
@ -440,7 +440,7 @@ lws_socket_bind(struct lws_vhost *vhost, struct lws *wsi,
|
|||
(unsigned int)uid,
|
||||
(unsigned int)gid);
|
||||
|
||||
if (chmod(iface, 0660)) {
|
||||
if (chmod(iface, 0660)) { /* lgtm [cpp/toctou-race-condition] */
|
||||
lwsl_wsi_err(wsi, "0600 mode on %s fail", iface);
|
||||
|
||||
return LWS_ITOSA_NOT_EXIST;
|
||||
|
|
Loading…
Add table
Reference in a new issue