b8f0ec33c9
Upstream NEWS is weak; release notes for 2.8.5.1 follow. [*] Improvements * Fixed syslog output when running on Windows. * Fixed potential segfault when printing IPv6 packets using the -v option. Thanks to Laurent Gaffie for reporting this issue. * Fixed segfault when additional policies were added during a configuration reload.
14 lines
700 B
Text
14 lines
700 B
Text
$NetBSD: patch-af,v 1.5 2011/04/01 16:48:36 gdt Exp $
|
|
|
|
--- src/dynamic-plugins/sf_dynamic_plugins.c.orig 2009-08-10 21:26:41.000000000 +0000
|
|
+++ src/dynamic-plugins/sf_dynamic_plugins.c
|
|
@@ -244,8 +244,7 @@ void LoadAllLibs(char *path, LoadLibrary
|
|
dir_entry = readdir(directory);
|
|
while (dir_entry != NULL)
|
|
{
|
|
- if ((dir_entry->d_reclen != 0) &&
|
|
- (fnmatch(MODULE_EXT, dir_entry->d_name, FNM_PATHNAME | FNM_PERIOD) == 0))
|
|
+ if (fnmatch(MODULE_EXT, dir_entry->d_name, FNM_PATHNAME | FNM_PERIOD) == 0)
|
|
{
|
|
/* Get the string up until the first dot. This will be
|
|
* considered the file prefix. */
|