EMANE 0.9.1 will crash if a log message that is generated is larger than the size of the char buff[1024] array used in LogService. Attached is a simple patch that checks for buffer overflow and concatenates the messages to the size of the buffer.
Maybe a better thing to do is to rework the LogService to use std::stringstream to build the log string instead of char array?
logservice.patch
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ emane-users mailing list [email protected] http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
