Browse Source

patch for hardening-patch

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@50 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 16 years ago
parent
commit
a97a4ef176
  1. 6
      processor/hashtable.m4

6
processor/hashtable.m4

@ -10,6 +10,9 @@ define(`DEF_HASH_TABLE_FUNC', `
char *buf = emalloc(bufsize);
int keysize;
#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
DONE(canary)
#endif
DONE(nTableSize)
DONE(nTableMask)
DONE(nNumOfElements)
@ -70,6 +73,9 @@ define(`DEF_HASH_TABLE_FUNC', `
IFCOPY(`uint n;')
IFCALCCOPY(`int bucketsize;')
#if defined(HARDENING_PATCH_HASH_PROTECT) && HARDENING_PATCH_HASH_PROTECT
DISPATCH(unsigned int, canary)
#endif
DISPATCH(uint, nTableSize)
DISPATCH(uint, nTableMask)
DISPATCH(uint, nNumOfElements)

Loading…
Cancel
Save