Accepting request 555083 from network
OBS-URL: https://build.opensuse.org/request/show/555083 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=6
This commit is contained in:
commit
2884a70433
23
Avoid_NULL_structure_pointer_member_dereference.patch
Normal file
23
Avoid_NULL_structure_pointer_member_dereference.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- kdc/kerberos5.c.orig
|
||||
+++ kdc/kerberos5.c
|
||||
@@ -2226,15 +2226,17 @@
|
||||
/*
|
||||
* In case of a non proxy error, build an error message.
|
||||
*/
|
||||
- if(ret != 0 && ret != HDB_ERR_NOT_FOUND_HERE && reply->length == 0) {
|
||||
+ if (ret != 0 && ret != HDB_ERR_NOT_FOUND_HERE && reply->length == 0) {
|
||||
ret = _kdc_fast_mk_error(context, r,
|
||||
&error_method,
|
||||
r->armor_crypto,
|
||||
&req->req_body,
|
||||
ret, r->e_text,
|
||||
r->server_princ,
|
||||
- &r->client_princ->name,
|
||||
- &r->client_princ->realm,
|
||||
+ r->client_princ ?
|
||||
+ &r->client_princ->name : NULL,
|
||||
+ r->client_princ ?
|
||||
+ &r->client_princ->realm : NULL,
|
||||
NULL, NULL,
|
||||
reply);
|
||||
if (ret)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 07 15:17:23 UTC 2017 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Added Avoid_NULL_structure_pointer_member_dereference.patch,
|
||||
fixes (bsc#1071675).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 03 20:25:45 UTC 2017 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
|
@ -28,6 +28,7 @@ Url: http://www.h5l.org
|
||||
Source0: heimdal-%{version}-patched.tar.bz2
|
||||
Source2: heimdal-patch-source.sh
|
||||
Patch0: heimdal-patched.diff
|
||||
Patch1: Avoid_NULL_structure_pointer_member_dereference.patch
|
||||
%if 0%{?sles_version} == 11
|
||||
BuildRequires: libcom_err-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
@ -49,6 +50,7 @@ BuildRequires: pam-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: perl(JSON)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -97,6 +99,7 @@ libraries are required by 64-bit package of ICAClient version 13.2.
|
||||
%prep
|
||||
%setup -q -n heimdal-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
Loading…
Reference in New Issue
Block a user