Changeset b6bd99c for lib


Ignore:
Timestamp:
2014-10-27T06:36:09Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d2b3f25
Parents:
8256ad5
Message:

dcc: Fix some invalid memory accesses reported by ASAN

ASAN <3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ftutil.c

    r8256ad5 rb6bd99c  
    138138
    139139        /* I hate static-length strings.. */
    140         host[HOST_NAME_MAX] = '\0';
     140        host[HOST_NAME_MAX-1] = '\0';
    141141        port[5] = '\0';
    142142       
Note: See TracChangeset for help on using the changeset viewer.