From d478dbae80bd215df3fef6cfc207b078ea285b8d Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Wed, 5 Nov 2014 23:45:20 +0000 Subject: [PATCH] update copyright notice --- lib/isc/unix/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/file.c b/lib/isc/unix/file.c index e5578ba878..06c9842eb1 100644 --- a/lib/isc/unix/file.c +++ b/lib/isc/unix/file.c @@ -720,8 +720,8 @@ isc_file_sanitize(const char *dir, const char *base, const char *ext, * plus null terminator) */ if (l < 65) - l = 65; - + l = 65; + if (dir != NULL) l += strlen(dir) + 1; if (ext != NULL)