bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] getline() differences FreeBSD / GNU libc


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] getline() differences FreeBSD / GNU libc
Date: Thu, 21 Jan 2010 19:02:14 +0200

noordsij <address@hidden> ha escrit:

> The fix is to simply initialize bufsize to 0 as well, to make (line
> 1232-1233):
> 
>   char *buf = 0;
>   size_t bufsize = 0;
> 
> This completely fixed the segfaults for me.

Thank you, I'll apply this fix.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]