Open VoroninArtemii opened 1 month ago
There is a possible null dereference in this line. https://github.com/polkit-org/polkit/blob/7a1cff69b674dcbda0fbcdb3edf92f60ffb446ed/src/polkitbackend/polkitbackendsessionmonitor-systemd.c#L76 We check the variable callback before it but only write it to the logs if callback is NULL. https://github.com/polkit-org/polkit/blob/7a1cff69b674dcbda0fbcdb3edf92f60ffb446ed/src/polkitbackend/polkitbackendsessionmonitor-systemd.c#L74 Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author A. Voronin.
callback
NULL
There is a possible null dereference in this line. https://github.com/polkit-org/polkit/blob/7a1cff69b674dcbda0fbcdb3edf92f60ffb446ed/src/polkitbackend/polkitbackendsessionmonitor-systemd.c#L76 We check the variable
callback
before it but only write it to the logs ifcallback
isNULL
. https://github.com/polkit-org/polkit/blob/7a1cff69b674dcbda0fbcdb3edf92f60ffb446ed/src/polkitbackend/polkitbackendsessionmonitor-systemd.c#L74 Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author A. Voronin.