Changeset 1495 in svn for trunk/processor/hashtable.m4


Ignore:
Timestamp:
2014-05-30T16:51:13+02:00 (14 months ago)
Author:
Xuefer
Message:

invalid read of 2 bytes in hashtable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/hashtable.m4

    r1494 r1495  
    2525                buf = erealloc(buf, bufsize);
    2626            }
    27             memcpy(buf, BUCKET_KEY_S(srcBucket), keysize);
     27            memcpy(buf, BUCKET_KEY_S(srcBucket), keysize - 2);
    2828            buf[keysize - 2] = buf[keysize - 1] = ""[0];
    2929            keysize = srcBucket->nKeyLength;
Note: See TracChangeset for help on using the changeset viewer.