mirror of
https://github.com/emanuele-f/PCAPdroid.git
synced 2026-07-03 21:21:12 +08:00
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:
parent
b8847a28ab
commit
8610e6ad27
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user