[Bug 1355] New: pointer arithmetic/gcc strict-aliasing warnings

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Aug 16 09:41:06 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=1355

           Summary: pointer arithmetic/gcc strict-aliasing warnings
           Product: Portable OpenSSH
           Version: -current
          Platform: All
               URL: http://lists.mindrot.org/pipermail/openssh-unix-
                    dev/2007-April/025274.html
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: minor
          Priority: P2
         Component: Miscellaneous
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: dtucker at zip.com.au
            Blocks: 1353


Recent versions of gcc emit a the following warnings:

readconf.c: In function 'process_config_line':
readconf.c:695: warning: dereferencing type-punned pointer will break
strict-aliasing rules
servconf.c: In function 'process_server_config_line':
servconf.c:979: warning: dereferencing type-punned pointer will break
strict-aliasing rules
servconf.c:990: warning: dereferencing type-punned pointer will break 
strict-aliasing rules

Dmitry V. Levin has posted a diff to fix these (see URL).


-- 
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching the reporter.


More information about the openssh-bugs mailing list