: Re: [Openslp-devel] Segfault Seen In Latest Openslp
Yes, I didn't spot what you were doing until after I sent the email.
I've
never done that trick inside of a union -- I wouldn't think so, but is it
possible some compiler optimization is getting in the way? Varun, what
kind
Varun,
That's correct. SA's should only take registrations from the local host.
John
-Original Message-
From: Varun Chandramohan [mailto:var...@linux.vnet.ibm.com]
Sent: Sunday, August 07, 2011 10:43 PM
To: openslp-devel@lists.sourceforge.net
Subject: Re: [Openslp-devel] Segfault Seen
This seems to be in the code I added while at Thales.
I left there recently, and am just getting myself set back up to have access to
the source and mailing lists from home rather than work.
Any further information on this ?
See comments below.
On 07/28/2011 03:40 AM, Varun Chandramohan
Yes, I didn't spot what you were doing until after I sent the email. I've
never done that trick inside of a union -- I wouldn't think so, but is it
possible some compiler optimization is getting in the way? Varun, what kind
of compiler/environment are you using?
--Nick
On Mon, Aug 1, 2011 at
The SLPDPredicateTreeNode structure does seem to have a problem. If we left
the larger-sized array, guards should still be added to ensure that neither
strncpy will step off the end of the member 'storage'. Others may have
differing opinions, but I'd change storage to be a char* and alloc it to