This is fixed in apparmor-2.8.95~2430
the initialization happens as part of the constructor in mount.c
mnt_rule::mnt_rule(struct cond_entry *src_conds, char *device_p, struct cond_entry *dst_conds __unused, char *mnt_point_p, int allow_p): mnt_point(mnt_point_p), device(device_p), trans(NULL), opts(NULL), flags(0), inv_flags(0), audit(0), deny(0) ^ ^ initialization is here
This is fixed in apparmor- 2.8.95~ 2430
the initialization happens as part of the constructor in mount.c
mnt_rule: :mnt_rule( struct cond_entry *src_conds, char *device_p, mnt_point_ p), device(device_p), trans(NULL), opts(NULL),
initializ ation is here
struct cond_entry *dst_conds __unused, char *mnt_point_p,
int allow_p):
mnt_point(
flags(0), inv_flags(0), audit(0), deny(0)
^ ^