Skip to content

Commit

Permalink
another minisatip8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perexg committed Oct 17, 2018
1 parent 7078b99 commit f397fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/minisatip8-axe.patch
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ index 8812322..519f3da 100755
myTable += "<td class='dt-right'>" + state['ad_axe_pktc'][i] + " </td>";
myTable += "<td class='dt-right'>" + state['ad_axe_ccerr'][i] + " </td>";
diff --git a/src/adapter.c b/src/adapter.c
index e034e3e..319591e 100644
index e034e3e..2edf766 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -75,6 +75,7 @@ adapter *adapter_alloc()
Expand Down Expand Up @@ -125,7 +125,7 @@ index e034e3e..319591e 100644
{
pid = map_intd(arg[i], NULL, -1);
- if (pid == -1)
+ if (pid < 0 || pid > 8182)
+ if (pid < 0 || pid > 8192)
continue;
if (mark_pid_add(sid, aid, pid) < 0)
return -1;
Expand Down

0 comments on commit f397fda

Please sign in to comment.