Fix capture stall with target apps in root mode

When target apps are specified, the root capture would stall
when matching the uid, because of an infinite loop.

Fixes #467
This commit is contained in:
emanuele-f 2024-11-06 21:57:21 +01:00
parent b8847a28ab
commit 8610e6ad27

View File

@ -136,6 +136,8 @@ static int matches_uid_filter(const int *filter, int uid) {
while (*filter != -1) {
if (*filter == uid)
return 1;
filter++;
}
// no match