SubDomain Linux Security Module needs ^ and / characters -- Steve Beattie
This commit is contained in:
parent
22d06af53c
commit
6c949eddbe
@ -1052,7 +1052,7 @@ static int pr_context(char *restrict const outbuf, const proc_t *restrict const
|
||||
if(unlikely(num_read<=0)) goto fail;
|
||||
outbuf[num_read] = '\0';
|
||||
|
||||
len = strspn(outbuf, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:_0123456789");
|
||||
len = strspn(outbuf, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:_0123456789/^");
|
||||
if(!len) goto fail;
|
||||
outbuf[len] = '\0';
|
||||
return len;
|
||||
|
Loading…
Reference in New Issue
Block a user