Changeset 1033

Show
Ignore:
Timestamp:
04/25/08 14:22:35 (7 months ago)
Author:
alonbl
Message:

Fixup SEGV, by Aktiv Co. Aleksey Samsonov

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/ct/status.c

    r963 r1033  
    5454 
    5555        addr = mmap(NULL, *size, prot, MAP_SHARED, fd, 0); 
     56        if (addr == MAP_FAILED) { 
     57                addr = NULL; 
     58        } 
    5659 
    5760      done:close(fd);