..compiling HEAD

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Oct 29 16:33:58 CET 2012


On 29 Oct 2012, at 14:55, Matthew Newton <mcn4 at LEICESTER.AC.UK> wrote:

> On Mon, Oct 29, 2012 at 02:45:28PM +0000, alan buxey wrote:
>> issue with 3.0.0 HEAD (which is stopping me from reporting bugs
>> with 3.x !) still cannot build on CentOS 6.3 box
>> 
>> make fails with
> 
> ...and I wonder if Arran missed his coffee this morning? ;-)
> 
> commit a984181dff893951695aa22500cb330315983bcb
> Author: Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> Date:   Mon Oct 29 06:41:06 2012 +0000
> 
>    arg needs to be a buffer
> 
> diff --git a/src/main/radclient.c b/src/main/radclient.c
> index d9380f3..7194ac4 100644
> --- a/src/main/radclient.c
> +++ b/src/main/radclient.c
> @@ -1022,7 +1022,7 @@ int main(int argc, char **argv)
>                        timeout = atof(optarg);
>                        break;
>                case 'v':
> -                       printf(radclient_version);
> +                       print(radclient_version);
>                        exit(0);
>                        break;
>                case 'x':
> ...

No he did not *grumble*, I think that's possibly worse than the strcpy one.

-Arran


More information about the Freeradius-Devel mailing list