Memory and C API...

2003-09-23 Thread Lars Wenderoth
Hello there! I have a problem with a little C program i am writing.. It uses SSL-encrypted connections to a special server. This server needs information from a MySQL database. The SSL-encryption is running fine. The MySQL code runs fine, if the SSL code is not there.. Since i need both at the

Re: Memory and C API...

2003-09-23 Thread Begumisa Gerald M.
Hi, Could you post your definitions for 'dbase' and 'err'... Gerald. On Tue, 23 Sep 2003, Lars Wenderoth wrote: Hello there! I have a problem with a little C program i am writing.. It uses SSL-encrypted connections to a special server. This server needs information from a MySQL database.

RE: Memory and C API...

2003-09-23 Thread Tom Roos
it could be that err is initialized as 0 or not initialized at all -Original Message- From: Lars Wenderoth [mailto:[EMAIL PROTECTED] Sent: 23 September 2003 13:02 To: [EMAIL PROTECTED] Subject: Memory and C API... Hello there! I have a problem with a little C program i am writing

Re: Memory and C API...

2003-09-23 Thread Begumisa Gerald M.
Hi, I don't see anything wrong with that. If I was in your shoes I'd make sure I don't have any buffer overflows anywhere between the definitions and where you use the variable - these are notorious to only cause segmentation faults when there's no more memory to silently consume (e.g variable to