diff options
author | Namhyung Kim | 2013-09-25 17:32:05 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-26 09:35:02 +0200 |
commit | 0705e84a1327cc03eeae184a4a47edeea4675f93 (patch) | |
tree | b517d608089214508f9c4c74198f2481bd7a3323 /libmount/src/context_mount.c | |
parent | libmount: Free splitted optstr's when error occurred (diff) | |
download | kernel-qcow2-util-linux-0705e84a1327cc03eeae184a4a47edeea4675f93.tar.gz kernel-qcow2-util-linux-0705e84a1327cc03eeae184a4a47edeea4675f93.tar.xz kernel-qcow2-util-linux-0705e84a1327cc03eeae184a4a47edeea4675f93.zip |
libmount: Set each optstr's to NULL if failed
When mnt_split_optstr() failed in the middle, vfs, fs, user optstr's
are freed but not reset. It can lead to double frees at the end of
mnt_fs_{ap,pre}pend_options().
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'libmount/src/context_mount.c')
0 files changed, 0 insertions, 0 deletions