search for: clocc

Displaying 1 result from an estimated 1 matches for "clocc".

Did you mean: clock
1997 Jan 12
9
dos-attack on inetd.
...die of Broken Pipe: write(3, "Sun Jan 12 21:50:35 1997\r\n", 26) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) --- I am no C-guru but I think this patch to inetd would fix it without adding any other problems: 1426c1426,1427 < sprintf(buffer, "%.24s\r\n", ctime(&clocc)); --- > (void) sprintf(buffer, "%.24s\r\n", ctime(&clocc)); > signal(SIGPIPE, SIG_IGN); 1427a1429 > signal(SIGPIPE, 13); Correct me if I am wrong... :) Regards //Tri [mod: This looks like a quick hack to me. How can a USER process like inetd get a socket to play with w...