Benign freebsd download unavailable

debug.c

Source contains an unconditional loopCalls a character-class helper
SHA-2564eeb77c77ae8134d6b90d737670c72e26facdef76ef2d32e8b7802c1132e0883

Evidence

imports <ctype.h> lines 2–36
2:10… ght (c) 2000, 2001, 2003, 2004 Proofpoint, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 */
9
10#include <sm/gen.h>
11SM_RCSID("@(#)$Id: debug.c,v 1.33 2013-11-22 20:51:42 ca Exp $")
12
13/*
14** libsm debugging and tracing
15** For documentation, see debug.html.
16*/
17
18#include <ctype.h>
19#include <stdlib.h>
20#if _FFR_DEBUG_PID_TIME
21#include <unistd.h>
22#include <sm/types.h>
23#include <sm/time.h>
24#include <time.h>
25#endif /* _FFR_DEBUG_PID_TIME */
26#include <setjmp.h>
27#include <sm/io.h>
28#include <sm/assert.h>
29#include <sm/conf.h>
30#include <sm/debug.h>
31#include <sm/string.h>
32#include <sm/varargs.h>
33#include <sm/heap.h>
34
35static void sm_debug_reset __P((void));
36static const char *parse_named_setting_x __P((const …
C declares a character or byte buffer lines 169–181
169:20… c);
170 }
171 else if (sm_debug_active(&SmDBGPidTime, 1))
172 {
173 static char str[32] = "[1900-00-00/00:00:00] ";
174 struct tm *tmp;
175 time_t currt;
⋯6 lines
English function-word token "that" lines 212–214
212:28… g up a setting in the settings database
213** are that the *last* setting specified in a -d option on the sendmail
214** command line that matches a giv …
Calls a character-class helper lines 323–345
⋯9 lines
332 ++s;
333 level = 0;
334 while (isascii(*s) && isdigit(*s))
335 {
336 level = level * 10 + (*s - '0');
⋯9 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.