Re: Bug#948584: libc6: Mounting nfsv4-export from my NAS there is a segfault in libc
- To: Bernhard Übelacker <bernhardu@mailbox.org>, 948584@bugs.debian.org
- Cc: Miriam Winterling <me@miriam-winterling.de>, nfs-utils@packages.debian.org
- Subject: Re: Bug#948584: libc6: Mounting nfsv4-export from my NAS there is a segfault in libc
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Tue, 4 Feb 2020 20:00:17 +0100
- Message-id: <[🔎] 20200204190017.GA195511@aurel32.net>
- In-reply-to: <8d055989-b018-9a2c-ca1b-2ec81df36c6c@mailbox.org>
- References: <157866567959.26538.3907903890937357715.reportbug@workstation-mirulan-net.fritz.box> <be569d22-afa4-e8c7-5852-5bd47d649eae@mailbox.org> <157866567959.26538.3907903890937357715.reportbug@workstation-mirulan-net.fritz.box> <89ebbd0dddf2897d2d9648d936f45e4006a8960e.camel@miriam-winterling.de> <20200111092648.GB2235@aurel32.net> <20200111092648.GB2235@aurel32.net> <6b5ed337-e219-0000-231b-080379777254@mailbox.org> <0295561f89e208a4cb00fab604462a7f14d8d7e7.camel@miriam-winterling.de> <157866567959.26538.3907903890937357715.reportbug@workstation-mirulan-net.fritz.box> <8d055989-b018-9a2c-ca1b-2ec81df36c6c@mailbox.org>
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: