-
-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
Milestone
Description
The following very simple query from the XQTS 3.1 will result in a java.lang.OutOfMemoryError.
count(subsequence(1 to 3000000000, -2147483649))It should also be considered as a security issue. This simple query could be sent to the REST end-point of any eXist-db server (which exposes the service), and it will cause the JVM to shutdown.
The XQTS states that we can either return the value 3000000000, or any error code. So we can decide what we want to do here.
joewiz