On 06/26/2013 11:05 AM, Kees Cook wrote: > Using --subdomainfs without an argument triggers a segfault. This was due > to the long option missing the "has_arg" flag. > > Signed-off-by: Kees Cook <[email protected]> > > > === modified file 'parser/parser_main.c' > --- parser/parser_main.c 2013-05-02 18:32:56 +0000 > +++ parser/parser_main.c 2013-06-26 18:04:16 +0000 > @@ -91,7 +91,7 @@ > {"add", 0, 0, 'a'}, > {"binary", 0, 0, 'B'}, > {"base", 1, 0, 'b'}, > - {"subdomainfs", 0, 0, 'f'}, > + {"subdomainfs", 1, 0, 'f'}, > {"help", 2, 0, 'h'}, > {"replace", 0, 0, 'r'}, > {"reload", 0, 0, 'r'}, /* undocumented reload > option == replace */ > > Acked-by: John Johansen <[email protected]>
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
