We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743babd commit d216391Copy full SHA for d216391
src/detection/libc/libc_bsd.c
@@ -2,6 +2,9 @@
2
3
const char* ffDetectLibc(FFLibcResult* result)
4
{
5
+ result->name = "Unknown";
6
+ result->version = NULL;
7
+
8
#ifdef __DragonFly__ // We define `__FreeBSD__` on DragonFly BSD for simplification
9
result->name = "DF";
10
#ifdef FF_DF_VERSION
@@ -12,9 +15,7 @@ const char* ffDetectLibc(FFLibcResult* result)
12
15
#ifdef FF_FBSD_VERSION
13
16
result->version = FF_FBSD_VERSION;
14
17
#endif
-#else
- result->name = "Unknown";
- result->version = NULL;
18
19
20
return NULL;
21
}
0 commit comments