Ignore:
Timestamp:
Apr 25, 2009, 2:36:47 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • 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.9/mondo/src/common/libmondo-devices.c

    r2131 r2177  
    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.