]> git.ipfire.org Git - thirdparty/systemd.git/commit
lgtm: replace the query used for looking for fgets with a more general query
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 11 Mar 2019 20:05:13 +0000 (21:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Mar 2019 09:08:23 +0000 (10:08 +0100)
commit7ba5ded9dbd7737bc368521f5ea7c90e5b06ab3e
tree9cf46d74b8ed2593dc309f78ffb52a5a53ef316a
parent1f682e243fa0863c9f4f89adf89032ae37e8205e
lgtm: replace the query used for looking for fgets with a more general query

to make it easier to comlain about `strtok` :-)

Inspired by https://github.com/systemd/systemd/pull/11963, which, in turn,
was prompted by https://github.com/systemd/systemd/pull/11555.
.lgtm/cpp-queries/PotentiallyDangerousFunction.ql [new file with mode: 0644]
.lgtm/cpp-queries/fgets.ql [deleted file]