From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11202 invoked by alias); 14 Jul 2005 07:56:09 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 11186 invoked by uid 22791); 14 Jul 2005 07:56:09 -0000 Received: from ns2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 14 Jul 2005 07:56:09 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 11DAB1D901; Thu, 14 Jul 2005 09:55:47 +0200 (CEST) From: Andreas Schwab To: Ulrich Drepper Cc: libc-hacker@sources.redhat.com Subject: Re: Fix unaligned access References: <42D52423.3070509@redhat.com> <42D59B9C.5060009@redhat.com> X-Yow: Yow! Are you the self-frying president? Date: Thu, 14 Jul 2005 07:56:00 -0000 In-Reply-To: <42D59B9C.5060009@redhat.com> (Ulrich Drepper's message of "Wed, 13 Jul 2005 15:54:20 -0700") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-07/txt/msg00020.txt.bz2 Ulrich Drepper writes: > And again: when and where is this a problem? See a few lines below: cmsg->cmsg_level = SOL_SOCKET; Since cmsg is just a pointer to msg.msg_control, this needs to be properly aligned. Same for the next three lines. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."