[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] lib/nolibc: Fix vsnprintf when size is zero
Hi Razvan, On 08/16/2018 04:43 PM, Razvan Rotaru wrote: Modified PCHAR macro so that it evaluates its parameter and updates their values every time. Without this, when size is zero, vsnprintf blocks in an infinite loop whenever the format string contains '%d'. I've had a look at your patch, but I'm not sure I exactly understand the issue, and how your patch solves it. Can you provide a test case to make this clearer? Thanks, Florian -- Dr. Florian Schmidt フローリアン・シュミット Research Scientist, Systems and Machine Learning Group NEC Laboratories Europe Kurfürsten-Anlage 36, D-69115 Heidelberg Tel. +49 (0)6221 4342-265 Fax: +49 (0)6221 4342-155 e-mail: florian.schmidt@xxxxxxxxx ============================================================ Registered at Amtsgericht Mannheim, Germany, HRB728558 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |