chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brackx (JIRA)" <>
Subject [jira] [Created] (CMIS-1051) OOM when parsing string with double quotes
Date Tue, 14 Nov 2017 12:03:00 GMT
Michael Brackx created CMIS-1051:

             Summary: OOM when parsing string with double quotes
                 Key: CMIS-1051
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-server
    Affects Versions: OpenCMIS 1.1.0
            Reporter: Michael Brackx

parsing a query with an incorrect string literal using double quotes (") iso of single quotes
(') leads to an OOM exception

example query:
SELECT * FROM cmis:document WHERE cmis:name = "a"

testcase for TestParserStrict
    public void queryDoubleQuotes() throws Exception {
        testParserFail("query", "SELECT * FROM cmis:document WHERE cmis:name = \"a\"");

java.lang.OutOfMemoryError: Java heap space

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.base/java.lang.reflect.Method.invoke(

This message was sent by Atlassian JIRA

View raw message