Changeset 3296 for branches/3.2


Ignore:
Timestamp:
Jun 6, 2014, 5:44:16 AM (5 years ago)
Author:
bruno
Message:

Fix #747 by returning early enough to avoid using a bad value for file length

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-stream.c

    r3271 r3296  
    17591759    /*@ end vars *************************************************** */
    17601760
     1761    if (length_of_incoming_file <= 0) {
     1762        return(1);
     1763    }
    17611764
    17621765    olen = length_of_incoming_file;
Note: See TracChangeset for help on using the changeset viewer.