Changeset 1181 in svn for trunk


Ignore:
Timestamp:
2012-11-29T04:35:14+01:00 (3 years ago)
Author:
Xuefer
Message:

use null ptr to generate coredump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r1177 r1181  
    349349{
    350350    if (xc_test) {
     351        char *null_ptr = NULL;
     352        *null_ptr = 0;
    351353        raise(SIGSEGV);
    352354    }
Note: See TracChangeset for help on using the changeset viewer.