Changeset 1006 for trunk/dll


Ignore:
Timestamp:
May 6, 2008, 5:20:07 AM (18 years ago)
Author:
Steven Levine
Message:

Tweak xmalloc to use callers file/line when FORTIFIED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/wrappers.c

    r1005 r1006  
    337337PVOID xmalloc(size_t cBytes, PCSZ pszSrcFile, UINT uiLineNumber)
    338338{
     339# ifdef FORTIFY
     340  PVOID pv = Fortify_malloc(cBytes, pszSrcFile, uiLineNumber);
     341# else 
    339342  PVOID pv = malloc(cBytes);
     343# endif
    340344
    341345  if (!pv)
Note: See TracChangeset for help on using the changeset viewer.