astyle formatting
This commit is contained in:
parent
f0d8fd7235
commit
a076b24dc6
|
@ -1196,7 +1196,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const ArrayInfo &arrayInfo
|
||||||
if (_settings->standards.posix) {
|
if (_settings->standards.posix) {
|
||||||
if (Token::Match(tok, "readlink ( %any% , %varid% , %num% )", arrayInfo.varid()))
|
if (Token::Match(tok, "readlink ( %any% , %varid% , %num% )", arrayInfo.varid()))
|
||||||
checkReadlinkBufferUsage(tok, scope_begin, total_size, false);
|
checkReadlinkBufferUsage(tok, scope_begin, total_size, false);
|
||||||
else if(Token::Match(tok, "readlinkat ( %any , %any% , %varid% , %num% )", arrayInfo.varid()))
|
else if (Token::Match(tok, "readlinkat ( %any , %any% , %varid% , %num% )", arrayInfo.varid()))
|
||||||
checkReadlinkBufferUsage(tok, scope_begin, total_size, true);
|
checkReadlinkBufferUsage(tok, scope_begin, total_size, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue