Bug 1132060 - kdc_make_rstate null pointer dereference
Summary: kdc_make_rstate null pointer dereference
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-20 15:02 UTC by Sami Farin
Modified: 2014-08-20 23:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-20 23:17:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
check for NULL properly (1.04 KB, patch)
2014-08-20 15:02 UTC, Sami Farin
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.