Re: partial analysis of vulndev-1.c

From: Nexus (nexusat_private-way.co.uk)
Date: Wed May 14 2003 - 07:08:15 PDT

  • Next message: Luciano Miguel Ferreira Rocha: "Re: Administrivia: List Announcement"

    > Most likely the memory allocator never allocated blocks that small. So
    when
    > you asked for a 10-byte block, you got one that was 14 or 16 bytes or
    > possibly even more.
    >
    > DS
    
    That's what I thought - it seems that the way malloc() is handled behind the
    scenes is very system dependant; as well as a possible minimum block size,
    it could also be padded or aligned in some way and end up rather different
    to what you would expect from the code.
    
    Cheers.
    



    This archive was generated by hypermail 2b30 : Wed May 14 2003 - 09:16:12 PDT