Re: [Openvpn-devel] [PATCH] Revamp check_file_access() checks in stdin scenarios

2012-02-20 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/02/12 10:37, David Sommerseth wrote: > It was discovered that --management also can take stdin as argument > instead of a file. Enabled this by revamping the check_file_access() > flags by adding CHKACC_ACPTSTDIN. Setting this flag will then

Re: [Openvpn-devel] [PATCH] Revamp check_file_access() checks in stdin scenarios

2012-02-20 Thread Gert Doering
Hi, On Mon, Feb 20, 2012 at 10:37:05AM +0100, David Sommerseth wrote: > It was discovered that --management also can take stdin as argument > instead of a file. Enabled this by revamping the check_file_access() > flags by adding CHKACC_ACPTSTDIN. Setting this flag will then consider > filenames

[Openvpn-devel] [PATCH] Revamp check_file_access() checks in stdin scenarios

2012-02-20 Thread David Sommerseth
It was discovered that --management also can take stdin as argument instead of a file. Enabled this by revamping the check_file_access() flags by adding CHKACC_ACPTSTDIN. Setting this flag will then consider filenames as 'stdin' as always present. The other place where 'stdin' was accepted is