Memory allocation still not properly aligned.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 27, 2010 at 8:34 PM, John Ridges <jridges at masque.com> wrote:
> Sorry Benny, but it appears that pj_pool_alloc with a caching pool factory
> still doesn't always return memory that is aligned properly when I have
> PJ_POOL_ALIGNMENT set to 16. I haven't updated pjsip since I last reported
> this bug, and when I got 1.5.5 I noticed that it didn't work. I fixed it by
> aligning "block->cur" in pj_pool_create_int (for whatever that's worth).
>

That's what we've done too, see
http://trac.pjsip.org/repos/changeset/2963. Do you see anything that
should have been done differently?

Cheers
 Benny



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux