Revert "Fixing a theoretical buffer overflow which was reported by Roland Illig"

This reverts commit f148fc29d2.
This commit is contained in:
Patrick Winnertz 2009-02-10 13:21:58 +01:00
parent 6d58336693
commit d7fa1ecdb4

View File

@ -71,7 +71,7 @@ static inline char* __mhl_str_concat_hlp(const char* base, ...)
va_start(args,base);
char* a;
/* note: we use ((char*)(1)) as terminator - NULL is a valid argument ! */
while ((a = va_arg(args, char*))!=(char*)1 && count <= 31 )
while ((a = va_arg(args, char*))!=(char*)1)
{
if (a)
{