Thanks to @ch3root again for this patch.
while (len > 0) {
if (*p == 'C') {
int status;
- pid_t pid = waitpid(-1, &status, WNOHANG);
+ waitpid(-1, &status, WNOHANG);
if (WIFEXITED(status) || WIFSIGNALED(status))
exit(0); /* child process vanished */
}
static void process_subneg(Telnet telnet)
{
- unsigned char b[2048], *p, *q;
int var, value, n;
- char *e;
switch (telnet->sb_opt) {
case TELOPT_OLD_ENVIRON:
#ifdef GENPROGRAM
int main(void)
{
- unsigned long crcword;
int i;
crc32_init();
PACL *acl,
char **error)
{
- SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY;
- SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY;
EXPLICIT_ACCESS ea[3];
int acl_err;
int ret = FALSE;
int setprocessacl(char *error)
{
- SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY;
- SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY;
EXPLICIT_ACCESS ea[2];
int acl_err;
int ret=FALSE;