RE: [sqlite] Security Problem C/C++

2007-08-07 Thread Lajos Baranyi
Thank you guys!

layosh

-Original Message-
From: Dwight Ingersoll [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 4:43 PM
To: sqlite-users@sqlite.org; [EMAIL PROTECTED]
Subject: RE: [sqlite] Security Problem C/C++

> Is there any way to request the digest form of the
> mailing list?

Subscribe to the digest using:

[EMAIL PROTECTED]


 


Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail=graduation+gifts=bz


-
To unsubscribe, send email to [EMAIL PROTECTED]

-




-
To unsubscribe, send email to [EMAIL PROTECTED]
-



RE: [sqlite] Security Problem C/C++

2007-08-07 Thread Dwight Ingersoll
> Is there any way to request the digest form of the
> mailing list?

Subscribe to the digest using:

[EMAIL PROTECTED]


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail=graduation+gifts=bz

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Security Problem C/C++

2007-08-07 Thread John Stanton

Your Sqlite code looks OK.  Your problem must be in your library or linking.

Severin Müller wrote:

Hey

I don't even get to call the sqlite3_errmsg() function. My Program crashes
with the call sqlite3_open(filename,);

I'm been spending hours now, to figure out, what may cause that crap :) I
really have no idea...



-Original Message-
From: Clay Dowling [mailto:[EMAIL PROTECTED] 
Sent: Montag, 6. August 2007 22:27

To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Security Problem C/C++

Check the result code of sqlite3_open and use the error message from
sqlite3_errmsg as the message in your exception.  Then you'll know what's
wrong.

Clay


Severin Müller wrote:


Hi



I’m trying to use SQLite3 for my File, but I’m having trouble to use the
library properly.



I Have to following Code:



void Nickserv::write_nickname(std::string nick,std::string
pass,std::string
email,User user)

{

#ifdef _WIN32

 const char *filename = "db\\Nickserv.db";

#else

 const char *filename = "db/Nickserv.db";

#endif

 sqlite3 *db;

 sqlite3_open(filename,);

}



When i run the Program, I get get the following Error:



Unhandled exception… so it’s some kind of a segmentation fault.



And my Debugger is tracing the error in a file called “gs_support.”…





Now, I really can’t figure out, what the Problem is. Are certain
Architectures not supported? I’m Using Win32 on a Pentium 4.



Thanks for your help in Advance.





Greetings




Severin Mueller

Switzerland











-
To unsubscribe, send email to [EMAIL PROTECTED]
-



RE: [sqlite] Security Problem C/C++

2007-08-06 Thread Lajos Baranyi
Dear Clay,

Is there any way to request the digest form of the mailing list? I am
flooded with e-mails, and it is too much form me to handle...

Regars: layosh

-Original Message-
From: Clay Dowling [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 06, 2007 4:27 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Security Problem C/C++

Check the result code of sqlite3_open and use the error message from
sqlite3_errmsg as the message in your exception.  Then you'll know what's
wrong.

Clay


Severin Müller wrote:
> Hi
>
>
>
> I’m trying to use SQLite3 for my File, but I’m having trouble to use the
> library properly.
>
>
>
> I Have to following Code:
>
>
>
> void Nickserv::write_nickname(std::string nick,std::string
> pass,std::string
> email,User user)
>
> {
>
> #ifdef _WIN32
>
>   const char *filename = "db\\Nickserv.db";
>
> #else
>
>   const char *filename = "db/Nickserv.db";
>
> #endif
>
>   sqlite3 *db;
>
>   sqlite3_open(filename,);
>
> }
>
>
>
> When i run the Program, I get get the following Error:
>
>
>
> Unhandled exception… so it’s some kind of a segmentation fault.
>
>
>
> And my Debugger is tracing the error in a file called “gs_support.”…
>
>
>
>
>
> Now, I really can’t figure out, what the Problem is. Are certain
> Architectures not supported? I’m Using Win32 on a Pentium 4.
>
>
>
> Thanks for your help in Advance.
>
>
>
>
>
> Greetings
>
>
>
>
> Severin Mueller
>
> Switzerland
>
>
>
>


-- 
Lazarus Registration
http://www.lazarusid.com/registration.shtml



-
To unsubscribe, send email to [EMAIL PROTECTED]

-




-
To unsubscribe, send email to [EMAIL PROTECTED]
-



RE: [sqlite] Security Problem C/C++

2007-08-06 Thread Lee Crain
Severin,

The "sqlite3_open( )" call is hard to break. Try breakpointing into the
sqlite3 source code to see what the failure is.

Lee Crain

__

-Original Message-
From: Severin Müller [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 4:42 PM
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] Security Problem C/C++

Hey

I don't even get to call the sqlite3_errmsg() function. My Program crashes
with the call sqlite3_open(filename,);

I'm been spending hours now, to figure out, what may cause that crap :) I
really have no idea...



-Original Message-
From: Clay Dowling [mailto:[EMAIL PROTECTED]
Sent: Montag, 6. August 2007 22:27
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Security Problem C/C++

Check the result code of sqlite3_open and use the error message from
sqlite3_errmsg as the message in your exception.  Then you'll know what's
wrong.

Clay


Severin Müller wrote:
> Hi
>
>
>
> I’m trying to use SQLite3 for my File, but I’m having trouble to use the
> library properly.
>
>
>
> I Have to following Code:
>
>
>
> void Nickserv::write_nickname(std::string nick,std::string
> pass,std::string
> email,User user)
>
> {
>
> #ifdef _WIN32
>
>   const char *filename = "db\\Nickserv.db";
>
> #else
>
>   const char *filename = "db/Nickserv.db";
>
> #endif
>
>   sqlite3 *db;
>
>   sqlite3_open(filename,);
>
> }
>
>
>
> When i run the Program, I get get the following Error:
>
>
>
> Unhandled exception… so it’s some kind of a segmentation fault.
>
>
>
> And my Debugger is tracing the error in a file called “gs_support.”…
>
>
>
>
>
> Now, I really can’t figure out, what the Problem is. Are certain
> Architectures not supported? I’m Using Win32 on a Pentium 4.
>
>
>
> Thanks for your help in Advance.
>
>
>
>
>
> Greetings
>
>
>
>
> Severin Mueller
>
> Switzerland
>
>
>
>


--
Lazarus Registration
http://www.lazarusid.com/registration.shtml


--
--
-
To unsubscribe, send email to [EMAIL PROTECTED]
--
--
-


--
---
To unsubscribe, send email to [EMAIL PROTECTED]
--
---



-
To unsubscribe, send email to [EMAIL PROTECTED]
-



RE: [sqlite] Security Problem C/C++

2007-08-06 Thread Severin Müller
Hey

I don't even get to call the sqlite3_errmsg() function. My Program crashes
with the call sqlite3_open(filename,);

I'm been spending hours now, to figure out, what may cause that crap :) I
really have no idea...



-Original Message-
From: Clay Dowling [mailto:[EMAIL PROTECTED] 
Sent: Montag, 6. August 2007 22:27
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Security Problem C/C++

Check the result code of sqlite3_open and use the error message from
sqlite3_errmsg as the message in your exception.  Then you'll know what's
wrong.

Clay


Severin Müller wrote:
> Hi
>
>
>
> I’m trying to use SQLite3 for my File, but I’m having trouble to use the
> library properly.
>
>
>
> I Have to following Code:
>
>
>
> void Nickserv::write_nickname(std::string nick,std::string
> pass,std::string
> email,User user)
>
> {
>
> #ifdef _WIN32
>
>   const char *filename = "db\\Nickserv.db";
>
> #else
>
>   const char *filename = "db/Nickserv.db";
>
> #endif
>
>   sqlite3 *db;
>
>   sqlite3_open(filename,);
>
> }
>
>
>
> When i run the Program, I get get the following Error:
>
>
>
> Unhandled exception… so it’s some kind of a segmentation fault.
>
>
>
> And my Debugger is tracing the error in a file called “gs_support.”…
>
>
>
>
>
> Now, I really can’t figure out, what the Problem is. Are certain
> Architectures not supported? I’m Using Win32 on a Pentium 4.
>
>
>
> Thanks for your help in Advance.
>
>
>
>
>
> Greetings
>
>
>
>
> Severin Mueller
>
> Switzerland
>
>
>
>


-- 
Lazarus Registration
http://www.lazarusid.com/registration.shtml



-
To unsubscribe, send email to [EMAIL PROTECTED]

-


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Security Problem C/C++

2007-08-06 Thread Clay Dowling
Check the result code of sqlite3_open and use the error message from
sqlite3_errmsg as the message in your exception.  Then you'll know what's
wrong.

Clay


Severin Müller wrote:
> Hi
>
>
>
> I’m trying to use SQLite3 for my File, but I’m having trouble to use the
> library properly.
>
>
>
> I Have to following Code:
>
>
>
> void Nickserv::write_nickname(std::string nick,std::string
> pass,std::string
> email,User user)
>
> {
>
> #ifdef _WIN32
>
>   const char *filename = "db\\Nickserv.db";
>
> #else
>
>   const char *filename = "db/Nickserv.db";
>
> #endif
>
>   sqlite3 *db;
>
>   sqlite3_open(filename,);
>
> }
>
>
>
> When i run the Program, I get get the following Error:
>
>
>
> Unhandled exception… so it’s some kind of a segmentation fault.
>
>
>
> And my Debugger is tracing the error in a file called “gs_support.”…
>
>
>
>
>
> Now, I really can’t figure out, what the Problem is. Are certain
> Architectures not supported? I’m Using Win32 on a Pentium 4.
>
>
>
> Thanks for your help in Advance.
>
>
>
>
>
> Greetings
>
>
>
>
> Severin Mueller
>
> Switzerland
>
>
>
>


-- 
Lazarus Registration
http://www.lazarusid.com/registration.shtml


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] Security Problem C/C++

2007-08-06 Thread Severin Müller
Hi

 

I’m trying to use SQLite3 for my File, but I’m having trouble to use the
library properly. 

 

I Have to following Code:

 

void Nickserv::write_nickname(std::string nick,std::string pass,std::string
email,User user)

{

#ifdef _WIN32

  const char *filename = "db\\Nickserv.db";

#else

  const char *filename = "db/Nickserv.db";

#endif

  sqlite3 *db;

  sqlite3_open(filename,);

}

 

When i run the Program, I get get the following Error:

 

Unhandled exception… so it’s some kind of a segmentation fault.

 

And my Debugger is tracing the error in a file called “gs_support.”…

 

 

Now, I really can’t figure out, what the Problem is. Are certain
Architectures not supported? I’m Using Win32 on a Pentium 4. 

 

Thanks for your help in Advance.

 

 

Greetings

 


Severin Mueller

Switzerland