mirror of
https://github.com/sheumann/hush.git
synced 2025-01-21 12:30:42 +00:00
Avoid NULL pointer problems. Patch from "Frank P. MacLachlan"
<fpm-plutus@tgs.indyme.com>
This commit is contained in:
parent
54805af092
commit
6834ee941a
@ -457,6 +457,7 @@ extern int mount_main(int argc, char **argv)
|
||||
|
||||
if (all == TRUE || flags == 0) { // Allow single mount to override fstab flags
|
||||
flags = 0;
|
||||
string_flags = string_flags_buf;
|
||||
*string_flags = '\0';
|
||||
parse_mount_options(m->mnt_opts, &flags, string_flags);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user