Changeset 35ab943 in mainline


Ignore:
Timestamp:
2013-04-03T17:28:13Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ffcbaf
Parents:
fa60cd69
Message:

libhound: zero entire allocated space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/protocol.c

    rfa60cd69 r35ab943  
    159159                        char *name = malloc(sizes[i] + 1);
    160160                        if (name) {
    161                                 bzero(name, sizes[i]);
     161                                bzero(name, sizes[i] + 1);
    162162                                ret = async_data_read_start(exch, name, sizes[i]);
    163163                                names[i] = name;
Note: See TracChangeset for help on using the changeset viewer.