=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ax25-apps-0.0.8-rc5+git20190411+0ff1383/configure.ac-55-if test "x$GCC" = "xyes"; then ax25-apps-0.0.8-rc5+git20190411+0ff1383/configure.ac:56: if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then ax25-apps-0.0.8-rc5+git20190411+0ff1383/configure.ac-57- CFLAGS="$CFLAGS -Wall" ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/config.c-319- } else { /* maybe user specified a numeric addr? */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/config.c:320: j = inet_addr(q); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/config.c-321- if (j == -1) ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-84- if (digi) { /* if we are in digi mode */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:85: a = next_addr(buf); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-86- if (NOT_ME(a)) { ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-97- SETREPEATED(a); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:98: a = next_addr(buf); /* find who gets it after us */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-99- } else { /* must be tnc mode */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:100: a = next_addr(buf); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-101-#ifdef TNC_FILTER ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-173- if (digi) { /* if we are in digi mode */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:174: a = next_addr(buf); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-175- if (NOT_ME(a)) { ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-190- } else { /* must be tnc mode */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:191: a = next_addr(buf); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-192-#ifdef TNC_FILTER ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-284- */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c:285:unsigned char *next_addr(unsigned char *f) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/process.c-286-{ ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/ax25ipd.h-131-int addrmatch(unsigned char *, unsigned char *); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/ax25ipd.h:132:unsigned char *next_addr(unsigned char *); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25ipd/ax25ipd.h-133-void add_crc(unsigned char *, int); ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-81-/* from buildsaddr.c */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c:82:static struct sockaddr *build_sockaddr(const char *name, int *addrlen) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-83-{ ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-111- } else if (!strcmp(host_name, "loopback")) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c:112: addr.si.sin_addr.s_addr = inet_addr("127.0.0.1"); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c:113: } else {addr.si.sin_addr.s_addr = inet_addr(host_name); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-114- if (addr.si.sin_addr.s_addr == -1) { ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-151- ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c:152: if (!(saddr = build_sockaddr(sockname, &saddrlen))) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25mond/ax25mond.c-153- fprintf(stderr, "WARNING: Invalid socket name: \"%s\"\n", ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-47- ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c:48:static char *dump_x25_addr(unsigned char *); ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-49-static char *clear_code(unsigned char); ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-285- ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c:286:static char *dump_x25_addr(unsigned char *data) ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-287-{ ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-390- ++data; /* Don't know... */ ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c:391: lprintf(T_ROSEHDR, " @%s\n", dump_x25_addr(data)); ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-392- /* data_dump(data, lgaddcall, 1); */ ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-428- if (fct == 0xCB) ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c:429: strcpy(addstorig, dump_x25_addr(data)); ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-430- else ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c:431: strcpy(addstdest, dump_x25_addr(data)); ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/rosedump.c-432- ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/listen.h-8- * Mark a position in code as unreachable. This can be used to ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/listen.h:9: * suppress control flow warnings after asm blocks that transfer ax25-apps-0.0.8-rc5+git20190411+0ff1383/listen/listen.h-10- * control elsewhere. ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-645- } ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:646: ax25_aton(nr_config_get_addr(port), &sockaddr.ax25); ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-647- sockaddr.ax25.fsa_ax25.sax25_family = AF_NETROM; ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-661- } ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:662: ax25_aton(ax25_config_get_addr(port), &sockaddr.ax25); ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-663- if (sockaddr.ax25.fsa_ax25.sax25_ndigis == 0) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:664: ax25_aton_entry(ax25_config_get_addr(port), ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-665- sockaddr.ax25.fsa_digipeater[0]. ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2975- } ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:2976: if (ax25_config_get_addr(port) == NULL) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2977- nr_config_load_ports(); ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2978- ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:2979: if (nr_config_get_addr(port) == NULL) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2980- rs_config_load_ports(); ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2981- ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c:2982: if (rs_config_get_addr(port) == NULL) { ax25-apps-0.0.8-rc5+git20190411+0ff1383/call/call.c-2983- fprintf(stderr, ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/config.c-135- ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/config.c:136: addr = ax25_config_get_addr(port); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/config.c-137- if (addr == NULL) ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-86- ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c:87:static int check_ax25_addr(unsigned char *buf) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-88-{ ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-434- ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c:435: if (check_ax25_addr(data)) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-436- return; ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-447- ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c:448: if (check_ax25_addr(data)) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-449- return; ############################################## ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-467- SKIP(1); ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c:468: if (size <= 0 || check_ax25_addr(data)) ax25-apps-0.0.8-rc5+git20190411+0ff1383/ax25rtd/listener.c-469- return;