Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ