Displaying 1 result from an estimated 1 matches for "parse_ch_flag".
Did you mean:
parse_ch_flags
2020 Aug 30
4
[Bug 3206] New: sftp client(32bit) chown command does not support uid >LONG_MAX
...ccept
uid<LONG_MAX. There is a gap between client and server. Variable l is
defiled as signed long. Is it possible to extend?
sftp> chown 2147483648 execute.sh
You must supply a numeric argument to the chown command.
case I_CHOWN:
case I_CHGRP:
if ((optidx = parse_ch_flags(cmd, argv, argc, hflag))
== -1)
return -1;
/* Get numeric arg (mandatory) */
if (argc - optidx < 1)
goto need_num_arg;
errno = 0;
l = strtol(argv[optidx], &cp2, base);...