Changeset 4971:f5853509f5e3 in roaraudio


Ignore:
Timestamp:
05/16/11 13:55:51 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Use a non-\0-char buffer for zero-size malloc guard segment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/memmgr.c

    r4966 r4971  
    3737 
    3838#ifdef ROAR_USE_MEMMGR 
    39 static char _libroar_null_buffer[8] = {0, 0, 0, 0, 0, 0, 0, 0}; 
     39#define NULL_BUFFER_CONST "RoarAudio" 
     40static char _libroar_null_buffer[] = NULL_BUFFER_CONST; // A byte sequense >= 8 byte. 
    4041#endif 
    4142 
Note: See TracChangeset for help on using the changeset viewer.