Thanks for reporting the bug. An issue has been created to track the problem:
https://github.com/adjacentlink/emane/issues/2 -- Steven Galgano www.adjacentlink.com On 06/03/2014 12:19 PM, Veytser, Leonid - 0665 - MITLL wrote: > 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? > > > > _______________________________________________ > emane-users mailing list > [email protected] > http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users > _______________________________________________ emane-users mailing list [email protected] http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
