Current-Users archive

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

Re: gcc 5.4 and dhcpcd



On Tuesday 07 June 2016 15:28:26 Patrick Welche wrote:
> You probably already saw this... On -current/amd64:
> 
> /usr/src/external/bsd/dhcpcd/dist/dhcp-common.c: In function
> 'dhcp_set_leasefile ':
> /usr/src/external/bsd/dhcpcd/dist/dhcp-common.c:833:1: error: stack
> protector no t protecting local variables: variable length buffer
> [-Werror=stack-protector] dhcp_set_leasefile(char *leasefile, size_t len,
> int family,
> 
> New gcc 5.4 default warning settings?

Does this patch fix it for you?
http://roy.marples.name/projects/dhcpcd/vpatch?from=a71bee067cefd47a&to=2ed87aa8b8241562

Roy


Home | Main Index | Thread Index | Old Index