Bug 193750 - krb4 : Time is out of bounds when storing the time diff into unsigned int32
Summary: krb4 : Time is out of bounds when storing the time diff into unsigned int32
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: krb5
Version: 3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 190430 212183
TreeView+ depends on / blocked
 
Reported: 2006-06-01 09:18 UTC by Jose Plans
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2007-0435
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-11 18:38:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Use signed integers for the local comparison between our (UNIX) walltime and the KDC's idea. Use abs() instead of "(if negative) then invert". Both required on 64bit (IA64, EM64T). (4.58 KB, patch)
2006-06-01 09:18 UTC, Jose Plans
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0435 0 normal SHIPPED_LIVE krb5 bug fix update 2007-06-07 22:34:43 UTC

Description Jose Plans 2006-06-01 09:18:11 UTC
The krb4 libraries present a problem when trying to perform a difference of time
clockskew when being used in a 64bit environment.
Today the libraries stores the time difference within an unsigned 32bit integer,
and seems to be the cause of the problem when trying to perform the clockskew diff.
The customer has write a patch which consist of using long and abs() to solve
the problem for ia64 and x86_64 archs.

The affected package : krb5-libs-1.2.7-52.

To reproduce it:
   % /usr/kerberos/bin/kinit -4
   Logs generated:
   - kinit(v4): Time is out of bounds (krb_rd_req)

Attached is the patch they have provided to solve this problem,
jose

Comment 1 Jose Plans 2006-06-01 09:18:12 UTC
Created attachment 130326 [details]
Use signed integers for the local comparison between our (UNIX) walltime and the KDC's idea.
Use abs() instead of "(if negative) then invert".
Both required on 64bit (IA64, EM64T).

Comment 14 Red Hat Bugzilla 2007-06-11 18:38:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0435.html


Comment 15 Issue Tracker 2007-06-12 07:41:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0435.html

Internal Status set to 'Resolved'
Status set to: Closed by Tech
Resolution set to: 'RHEL 3.9'
Ticket type set to: 'Problem'

This event sent from IssueTracker by navid 
 issue 94413


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