Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
PuppetDB
-
33825
-
1
-
Bug Fix
-
Description
In the entity part of a PQL query, it is possible to use a value that overflows an unsigned Java int, specifically 2,147,483,647. For example:
puppet query 'fact_contents[] {path ~> ["mountpoints", "/", "available_bytes"] and value < 2147483648}' |
Error response 400 Bad Request from server: For input string: "2147483648" |
Turning on debug level logging will reveal an exception in puppetdb.log
java.lang.NumberFormatException: For input string: "2147483648" |