Bug 1132060

Summary: kdc_make_rstate null pointer dereference
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: nalin, nathaniel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-20 23:17:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
check for NULL properly none

Description Sami Farin 2014-08-20 15:02:16 UTC
Created attachment 928863 [details]
check for NULL properly

Description of problem:
kdc_realm_t *kdc_active_realm = s->realm_data;
if (s == NULL)
         return;

FAIL.

Version-Release number of selected component (if applicable):
1.11.5-11

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Nalin Dahyabhai 2014-08-20 23:17:30 UTC
It looks like this was part of ticket #7511, fixed in 1.12.  The conversation there suggests that "s" is expected to never be NULL, so the upstream fix was to remove the test.  I'll mark this as closed->rawhide, since Fedora 22 currently includes 1.12.