Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <30d429d7036e4fa6a5c0ad1304b5bd93@smtp.hushmail.com>
Date: Thu, 17 Jan 2013 16:45:04 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: What to do in 'salt() misaligned pointer' ?

On 17 Jan, 2013, at 16:41 , Claudio André <claudioandre.br@...il.com> wrote:

> Hi, what should i do to fix this?
> 
> Warning: salt() returned misaligned pointer

If you do this, you get an example:

$ git show f683f13 gost_fmt_plug.c

In that case, the format use char so alignment can be 1. If the format uses eg. an int array, you must report 4. You must ensure that the reported alignment reqiurement is the actual one so it doesn't break on some platforms.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.