You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/04/09 14:57:43 UTC

[GitHub] [incubator-openwhisk-package-kafka] dubee opened a new pull request #332: Prevent parsing floats as Infinity and -Infinity

dubee opened a new pull request #332: Prevent parsing floats as Infinity and -Infinity
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/332
 
 
   When reading a very large or very small number from Kafka, the consumer may convert that number into `Infinity` or `-Infinity` respectively. These changes cause an exception to occur in the `json.loads` function to prevent `Infinity` or `-Infinity` values as the OpenWhisk controller will reject such JSON as being invalid.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services