Ignore:
Timestamp:
Jan 25, 2013, 4:09:59 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Fix #249 by changing the wrong affectation of fname (patch from Jean Philippe Mohler jpmohler_at_h2i.fr)
File:
1 edited

Legend:

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

    r3060 r3080  
    372372{
    373373    int res = 0;
    374     char *fname = (char *)&res;                 /* Should NOT be NULL */
     374    char fname_buf[PATH_MAX];
     375    char *fname = (char *)fname_buf;                    /* Should NOT be NULL */
    375376    char *tmp = NULL;
    376377
Note: See TracChangeset for help on using the changeset viewer.