FreeBSD Bugzilla – Attachment 250193 Details for
Bug 278430
Error in operator precedence in Heimdal LDAP code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Obtained from upstream c1c7da7f79.
0001-heimdal-Fix-compiling-hdb-ldap-as-a-module.patch (text/plain), 1.76 KB, created by
Cy Schubert
on 2024-04-24 00:03:57 UTC
(
hide
)
Description:
Obtained from upstream c1c7da7f79.
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2024-04-24 00:03:57 UTC
Size:
1.76 KB
patch
obsolete
>From 61a9bf1689f1261bf91d503fb3997dcb609cdbdf Mon Sep 17 00:00:00 2001 >From: Jeffrey Clark <dude@zaplabs.com> >Date: Fri, 10 Jan 2014 13:18:06 -0600 >Subject: [PATCH] heimdal: Fix compiling hdb ldap as a module > >Obtained from: Upstream c1c7da7f79 >--- > crypto/heimdal/lib/hdb/hdb-ldap.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/crypto/heimdal/lib/hdb/hdb-ldap.c b/crypto/heimdal/lib/hdb/hdb-ldap.c >index 1b4024aa540a..d58ffe8e06e9 100644 >--- a/crypto/heimdal/lib/hdb/hdb-ldap.c >+++ b/crypto/heimdal/lib/hdb/hdb-ldap.c >@@ -44,6 +44,9 @@ > static krb5_error_code LDAP__connect(krb5_context context, HDB *); > static krb5_error_code LDAP_close(krb5_context context, HDB *); > >+static krb5_error_code hdb_ldap_create(krb5_context context, HDB **, const char *); >+static krb5_error_code hdb_ldapi_create(krb5_context context, HDB **, const char *); >+ > static krb5_error_code > LDAP_message2entry(krb5_context context, HDB * db, LDAPMessage * msg, > int flags, hdb_entry_ex * ent); >@@ -797,10 +800,10 @@ need_quote(unsigned char c) > (c == 0x7f); > } > >-const static char hexchar[] = "0123456789ABCDEF"; >+static const char hexchar[] = "0123456789ABCDEF"; > > static krb5_error_code >-escape_value(krb5_context context, const unsigned char *unquoted, char **quoted) >+escape_value(krb5_context context, const char *unquoted, char **quoted) > { > size_t i, len; > >@@ -816,7 +819,7 @@ escape_value(krb5_context context, const unsigned char *unquoted, char **quoted) > } > > for (i = 0; unquoted[0] ; unquoted++) { >- if (need_quote((unsigned char *)unquoted[0])) { >+ if (need_quote((unsigned char)unquoted[0])) { > (*quoted)[i++] = '\\'; > (*quoted)[i++] = hexchar[(unquoted[0] >> 4) & 0xf]; > (*quoted)[i++] = hexchar[(unquoted[0] ) & 0xf]; >-- >2.43.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278430
:
250047
| 250193