Bug 695674

Summary: warning: dereferencing type-punned pointer will break strict-aliasing rules
Product: Red Hat Enterprise Linux 5 Reporter: Vojtech Vitek <vvitek>
Component: xinetdAssignee: Vojtech Vitek <vvitek>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0CC: azelinka, hripps, mcermak, ovasik
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 697783 (view as bug list) Environment:
Last Closed: 2011-05-25 08:38:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 697783    
Attachments:
Description Flags
Patch to fix the warning and possible corruption of the time_t variable none

Description Vojtech Vitek 2011-04-12 11:46:39 UTC
There is *Testsuite regressions* detected in the xinetd package:

352  sensor.c: In function 'process_sensor':
353  sensor.c:110: warning: dereferencing type-punned pointer will break strict-aliasing rules

I will provide a patch in next comment.

Comment 1 Vojtech Vitek 2011-04-12 11:49:33 UTC
Created attachment 491463 [details]
Patch to fix the warning and possible corruption of the time_t variable

Comment 6 errata-xmlrpc 2011-05-25 08:38:54 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 therefore 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-2011-0827.html