Ignore:
Timestamp:
Apr 29, 2011, 3:39:14 PM (13 years ago)
Author:
Bruno Cornec
Message:

r2178@localhost (orig r2177): bruno | 2009-04-25 02:36:47 +0200

  • Fix a bug on array size reported by SuSE build system (Stephan Lauffer lauffer_at_ph-freiburg.de)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/common/libmondo-devices.c

    r2131 r2806  
    10681068    } else {
    10691069        strcpy(good_formats, " ");
    1070         (void) fgets(good_formats + 1, MAX_STR_LEN, pin);
     1070        (void) fgets(good_formats + 1, MAX_STR_LEN - 1, pin);
    10711071        if (pclose(pin)) {
    10721072            log_OS_error("Cannot pclose good formats");
Note: See TracChangeset for help on using the changeset viewer.