Re: [openssl.org #98] OpenSSL engine ctrl: handling of strings

2002-06-20 Thread Götz Babin-Ebell
Geoff Thorpe via RT schrieb: > Hi, Hello Geoff, [snip] >>But in the code I checked the passed string is only referenced, >>not copied... > ahhh ... OK, right I'm with you now. So you see the problem is in the > ENGINE implementations, not in the library code that passes the strings > through to

[openssl.org #98] OpenSSL engine ctrl: handling of strings

2002-06-20 Thread Geoff Thorpe via RT
Hi, [snip] > > I'm not sure I understand how this can be a generic problem. If an > > ENGINE implementation intends to store passed strings, ie. for use > > after > > the ENGINE_ctrl() command in question has returned, then it should > > surely be making a local copy? There are two points that

[openssl.org #98] OpenSSL engine ctrl: handling of strings

2002-06-18 Thread Geoff Thorpe via RT
Hi there, OK, finally got round to taking a look at this ticket [#98] - apologies for the delay on my part. [[EMAIL PROTECTED] - Fri Jun 14 21:37:50 2002]: > There is a possible problem with the string param handling of > ENGINE_ctrl(): > (At least I will get a problem...) > > In the ..._ctrl

[openssl.org #98] Re: OpenSSL engine ctrl: handling of strings

2002-06-18 Thread Götz Babin-Ebell
Lutz Jaenicke schrieb: > On Sat, Jun 15, 2002 at 07:38:40PM -0400, Geoff Thorpe wrote: > >>On Fri, 14 Jun 2002, [ISO-8859-15] Götz Babin-Ebell wrote: >> >>>In the ..._ctrl()-Function of the engines a passed string >>>is only referenced and not copyed. >>>This is bad if the buffer with the passed

Re: OpenSSL engine ctrl: handling of strings

2002-06-16 Thread Lutz Jaenicke
On Sat, Jun 15, 2002 at 07:38:40PM -0400, Geoff Thorpe wrote: > On Fri, 14 Jun 2002, [ISO-8859-15] Götz Babin-Ebell wrote: > > In the ..._ctrl()-Function of the engines a passed string > > is only referenced and not copyed. > > This is bad if the buffer with the passed data is overwritten... > >

Re: OpenSSL engine ctrl: handling of strings

2002-06-15 Thread Geoff Thorpe
Hi, On Fri, 14 Jun 2002, [ISO-8859-15] Götz Babin-Ebell wrote: > Hello folks, > > There is a possible problem with the string param handling of ENGINE_ctrl(): > (At least I will get a problem...) > > In the ..._ctrl()-Function of the engines a passed string > is only referenced and not copyed. >

[openssl.org #98] OpenSSL engine ctrl: handling of strings

2002-06-14 Thread Götz Babin-Ebell via RT
__ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

OpenSSL engine ctrl: handling of strings

2002-06-14 Thread Götz Babin-Ebell
Hello folks, There is a possible problem with the string param handling of ENGINE_ctrl(): (At least I will get a problem...) In the ..._ctrl()-Function of the engines a passed string is only referenced and not copyed. This is bad if the buffer with the passed data is overwritten... Since in the