Changeset 2964ae1 in git for xcache.c


Ignore:
Timestamp:
2006-09-08T13:13:59Z (14 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
a29d074
Parents:
cf59070
Message:

avoid reading of uninitialized data. thanks to valgrind

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@146 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r9c3e3d9 r2964ae1  
    451451    add_assoc_long_ex(ei, ZEND_STRS("ctime"),    entry->ctime);
    452452    add_assoc_long_ex(ei, ZEND_STRS("atime"),    entry->atime);
    453     add_assoc_long_ex(ei, ZEND_STRS("dtime"),    entry->dtime);
     453    if (del) {
     454        add_assoc_long_ex(ei, ZEND_STRS("dtime"), entry->dtime);
     455    }
    454456#ifdef IS_UNICODE
    455457    do {
Note: See TracChangeset for help on using the changeset viewer.