[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipsec-tools-devel
Subject:    Re: [Ipsec-tools-devel] [patch] Incorrect init of netaddr for BSD.
From:       Timo_Teräs <timo.teras () iki ! fi>
Date:       2011-02-10 11:22:38
Message-ID: 4D53CA7E.9070208 () iki ! fi
[Download RAW message or body]

Hi,

On 02/09/2011 03:29 PM, M E Andersson wrote:
> The parser
> 
>    src/racoon/prsa_par.y
> 
> incorrectly initiates addresses of restricted RSA keys
> 
>    1.2.3.4/24 4.5.6.7 : PUB 0s....
> 
> on BSD systems. The reason is that only the address family
> and the address itself are initialised, not the structure
> length, thus leading to failure in FreeBSD. It is only
> keys with additional restrictions on addresses that are
> touched by this error.
> 
> I offer a simple solution,  and a correct solution!
> Both apply cleanly to version 0.7.3 and to 0.8beta.

I applied the "simple solution" to 0.7 stable branch. The more intrusive
patch was applied to CVS head.

Thanks,
  Timo

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic