AnantLabs / xerial

Automatically exported from code.google.com/p/xerial
0 stars 0 forks source link

NewStringUTF crashes if str is NULL with some JVMs #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
Create SQLite table where TEXT column contains NULL.
2.
Read the value with some JVMs (e.g. IBM's) using native version of SQLite-JDBC.

What is the expected output? What do you see instead?

I expect to get null value out.

I see JVM crashing.

Attached is a patch that fixes the issue.

Original issue reported on code.google.com by tvain...@gmail.com on 22 Oct 2010 at 12:35

Attachments:

GoogleCodeExporter commented 9 years ago
51

Original comment by fabricet...@gmail.com on 29 Jun 2011 at 3:31

GoogleCodeExporter commented 9 years ago
le vif du sujet !

Original comment by fabricet...@gmail.com on 29 Jun 2011 at 3:32