Re: [autofs] [PATCH] Sanity checks for brackets (escaped or otherwise) in server name

2011-04-07 Thread Ian Kent
On Fri, 2011-04-01 at 14:43 +0530, Siddhesh Poyarekar wrote: When autofs is configured as follows: * -nodev,nosuid,intr,soft,retry=10,proto=tcp :/tmp1 One could make a mount request as follows: df /autom/tmp1/som\(efile and crash automount, since automount tries to parse the brackets

[autofs] [PATCH] Sanity checks for brackets (escaped or otherwise) in server name

2011-04-06 Thread Siddhesh Poyarekar
When autofs is configured as follows: * -nodev,nosuid,intr,soft,retry=10,proto=tcp :/tmp1 One could make a mount request as follows: df /autom/tmp1/som\(efile and crash automount, since automount tries to parse the brackets to get the weight for the server. Automount should not parse these