pkgsrc-Users archive

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

Re: multimedia/libmp4v2 build failure



On Sun, Aug 30, 2020 at 09:29:20PM +0200, Tobias Nygren wrote:
> The correct fix for is to use `blen - 1` instead of `blen`
> and `sizeof(G_Multicast_Src) - 1` instead of `sizeof(G_Multicast_Src)`,
> respectively. Please try that instead?
> Warnings about potential buffer overflow should not be pragma'd away.
> Especially in network code.

More importantly, forcing the NUL at the end of the strings. That's
likely what the warning is really about.

Joerg


Home | Main Index | Thread Index | Old Index