91d0631a40
CVE-2015-2695 CVE-2015-2696 CVE-2015-2697 CVE-2015-2698 CVE-2015-8629 CVE-2015-8630 CVE-2015-8631
22 lines
489 B
Text
22 lines
489 B
Text
$NetBSD: patch-al,v 1.7 2016/03/15 15:16:39 tez Exp $
|
|
|
|
Add DragonFly support. Fallback to LINE_MAX if BUFSIZ is not defined.
|
|
|
|
--- lib/gssapi/krb5/import_name.c.orig Sat Dec 11 20:12:52 2010
|
|
+++ lib/gssapi/krb5/import_name.c Sat Dec 11 20:13:40 2010
|
|
@@ -28,10 +28,15 @@
|
|
#include "gssapiP_krb5.h"
|
|
|
|
#ifndef NO_PASSWORD
|
|
+#include <limits.h>
|
|
#include <pwd.h>
|
|
#include <stdio.h>
|
|
#endif
|
|
|
|
+#ifndef BUFSIZ
|
|
+#define BUFSIZ LINE_MAX
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_STRING_H
|
|
#include <string.h>
|
|
#else
|