mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-25 01:07:52 +00:00
Prevent crash
This commit is contained in:
parent
52e501c516
commit
51332c6910
1 changed files with 1 additions and 0 deletions
|
@ -436,6 +436,7 @@ jint get_uid(const int version, const int protocol,
|
|||
// Scan proc file
|
||||
jint u;
|
||||
int i = 0;
|
||||
*line = 0;
|
||||
while (fgets(line, sizeof(line), fd) != NULL) {
|
||||
if (i++) {
|
||||
*hex = 0;
|
||||
|
|
Loading…
Reference in a new issue