1 # See https://github.com/netdata/netdata/pull/17377#issuecomment-2183017868
2 # https://github.com/netdata/netdata/security/advisories/GHSA-pmhq-4cxq-wj93
4 diff --git a/src/collectors/plugins.d/ndsudo.c b/src/collectors/plugins.d/ndsudo.c
5 index d53ca9f28..b42a121bf 100644
6 --- a/src/collectors/plugins.d/ndsudo.c
7 +++ b/src/collectors/plugins.d/ndsudo.c
8 @@ -357,9 +357,6 @@ int main(int argc, char *argv[]) {
12 - char new_path[] = "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin";