10 Nov
2008
10 Nov
'08
6:35 p.m.
On Mon, Nov 10, 2008 at 12:24 PM, Johannes Krampf <Johannes.Krampf@htw-dresden.de> wrote:
Hi,
I've found a small compatibility problem and static checking a minor buffer overflow in libdownload. Please excuse if this should already be fixed in git.
Here's the patch, <stdint.h> is included for uintptr_t and fscanf writes a trailing \0, therefore requiring 1025 bytes in the worst case:
Just an FYI, NetBSD's libfetch code compiles on linux with a minor modification. So I think we're planning on switching to that. In fact, I will try to get a libfetch package in the wild tonight. I know Xavier did some work with the pacman code to see if it'd work. Any status on this?