chiark / gitweb /
fstab-generator: avoid mangling of mount source string
authorKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 13:21:05 +0000 (15:21 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 13:21:05 +0000 (15:21 +0200)
commitec6ceb18663940efb1963704923430be0e83f1f7
tree095d7e20b072ee1609b688d0a2953e7829ab20c6
parent4b7126538c25268c79ff10d166920934f149a329
fstab-generator: avoid mangling of mount source string

This is a valid source entry in /etc/fstab:
  //192.168.6.10/data /data cifs noperm,auto

On Mon, Jun 4, 2012 at 2:04 PM, Dave Reisner <d@falconindy.com> wrote:
> On Mon, Jun 04, 2012 at 12:57:47PM +0200, Kay Sievers wrote:
>>
>> Changed it to use:
>>   path_is_absolute()
>> instead of:
>>   is_path(),
>> so that we still sanitize the input we might match against.
>>
>> Let me know, if you think that could still cause any problems?

> Yes, this will still break CIFS shares.
src/fstab-generator/fstab-generator.c