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 ;-)
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 ;-)