Navigation


Changeset 913:00994523f9d4 in freeDiameter for libfdcore


Ignore:
Timestamp:
Jan 29, 2013, 10:30:16 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix regression introduced in changeset 894 (Thanks Hannes for pointing this)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/sctp.c

    r894 r913  
    10871087        /* We will loop while all data is not received. */
    10881088incomplete:
    1089         if (datasize == bufsz - sizeof(struct timespec)) {
     1089        if (datasize + sizeof(struct timespec) >= bufsz ) {
    10901090                /* The buffer is full, enlarge it */
    10911091                bufsz += mempagesz;
Note: See TracChangeset for help on using the changeset viewer.