Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.13.1609152324210.30232@monopod.intra.ispras.ru>
Date: Thu, 15 Sep 2016 23:25:45 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct
 ifconf

On Thu, 15 Sep 2016, Daniel Sabogal wrote:
> linux, glibc, freebsd, and openbsd use a character pointer for this field
> --- a/include/net/if.h
> +++ b/include/net/if.h
> @@ -116,7 +116,7 @@ struct ifreq {
>  struct ifconf {
>  	int ifc_len;		
>  	union {
> -		void *ifcu_buf;
> +		char *ifcu_buf;

Declaration of 'ifru_data' in that header has the same issue.

Thanks.
Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.