On Fri, Jul 08, 2016 at 08:11:26PM -0700, Yong Bakos wrote:
> On Jul 8, 2016, at 6:54 PM, Bryce Harrington wrote:
> >
> > strtoul(nptr, endptr, ...) will set *endptr to nptr in the case of where
> > no digits were read from the string, and return 0. Running with
> > RDP_FD=foo would thus result
On Jul 8, 2016, at 6:54 PM, Bryce Harrington wrote:
>
> strtoul(nptr, endptr, ...) will set *endptr to nptr in the case of where
> no digits were read from the string, and return 0. Running with
> RDP_FD=foo would thus result in fd=0 being specified to
> freerdp_peer_new(), which is unlikely to
strtoul(nptr, endptr, ...) will set *endptr to nptr in the case of where
no digits were read from the string, and return 0. Running with
RDP_FD=foo would thus result in fd=0 being specified to
freerdp_peer_new(), which is unlikely to be the user's intent.
Signed-off-by: Bryce Harrington
---
lib