mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
This is a minimal fix to apparmor 2.8 for cache failures when the feature
file is larger than the feature buffer used for cache version comparison. Ideally this would be dynamically allocated but for 2.8 just bumping the buffer size is the quick fix. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
parent
5d439f2fcc
commit
18d66a09f6
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ int preprocess_only = 0;
|
|||
int skip_mode_force = 0;
|
||||
struct timespec mru_tstamp;
|
||||
|
||||
#define FLAGS_STRING_SIZE 1024
|
||||
#define FLAGS_STRING_SIZE 8192
|
||||
char *match_string = NULL;
|
||||
char *flags_string = NULL;
|
||||
char *cacheloc = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue