Hi, Thank you for this patch. You are right, the '\0' is written outside the bounds of the buffer. I would suggest a minor modification to your patch, please see attachment. Regards, Olivier On 05/01/2013 08:50 PM, Han, Dongsu wrote: > I'm sending a proposed patch to fix the buffer overrun problem in > handling log messages. > > Dongsu Han > > > _______________________________________________ > dev mailing list > dev@dpdk.org > http://dpdk.org/ml/listinfo/dev -- Olivier MATZ Tel +33-1-39-30-92-57 www.6wind.com ================================================================================ This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to 6WIND. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Ce courriel ainsi que toutes les pièces jointes, est uniquement destiné à son ou ses destinataires. Il contient des informations confidentielles qui sont la propriété de 6WIND. Toute révélation, distribution ou copie des informations qu'il contient est strictement interdite. Si vous avez reçu ce message par erreur, veuillez immédiatement le signaler à l'émetteur et détruire toutes les données reçues ================================================================================