commit | 5ba41ebd65c2b2369cd33dde79d786676d553e41 | [log] [tgz] |
---|---|---|
author | Bryce Harrington <bryce@osg.samsung.com> | Mon Jul 11 17:02:44 2016 -0700 |
committer | Bryce Harrington <bryce@osg.samsung.com> | Tue Jul 12 14:24:50 2016 -0700 |
tree | 44f4cfc1704079959f154a50dfa1e94b7dcb3330 | |
parent | 7fc000c8264d5cefe98cee69d0be79544d51319f [diff] |
rdp: Check for non-digits and errno in strtol call Improve error checking for situations like RDP_FD=42foo, or where the provided number is out of range. Suggestion by Yong Bakos. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>