Comment 12 for bug 301771

Revision history for this message
Chris (cpeter1) wrote :

remark to my comment above:

To be more precise: In the output subroutines "fatal", "warning" and "logmsg" in madfuload.c the pointer(?) strerror(errno) is converted into a string via %s,
e.g. in line 289: fatal("cannot claim interface %d: (%d) %s", interface, errno, strerror(errno)).

I think, this is where the segmentation fault happens. if strerror(errno) is converted to an integer %d instead, then no seg fault occurs and obviously madfuload returns an integer as result of strerror(errno).

Pls forgive my descriptions, I am no programmer ;-)