[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#948584: libc6: Mounting nfsv4-export from my NAS there is a segfault in libc



control: reassign -1 nfs-utils
control: retitle -1 nfs-utils: unquoted paths in configuration file cause crashes

On 2020-01-11 13:35, Bernhard Übelacker wrote:
> Dear Maintainer,
> I could reproduce the crash now in an minimal unstable VM with the
> given config and the command line from the coredumpctl output.
> 
> It seems that the function conf_parse_line is not prepared
> for missing quotation marks for the argument in the section head [1].
> 
> Therefore, if quotes are ommitted, the variable arg gets not filled,
> and therefore the cb->arg contains then a null pointer [2], that leads
> given to strcasecmp to the crash.
> 
> @Miriam: I guess the crash should go away if change the config like following?
> - [ Server mirunas.mirulan.net ]
> - [ MountPoint /media/MiruNAS/Medienwerkstatt ]
> + [ Server "mirunas.mirulan.net" ]
> + [ MountPoint "/media/MiruNAS/Medienwerkstatt" ]
> 

Thanks for the diagnosis. This shows this is not a libc6 issue, but
rather a nfs-utils issue. I am therefore reassigning the bug.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: