You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/10/28 21:25:44 UTC

[GitHub] lgov opened a new pull request #12999: [Issue #11912] throw mxnet exceptions when decoding invalid images.

lgov opened a new pull request #12999: [Issue #11912] throw mxnet exceptions when decoding invalid images.
URL: https://github.com/apache/incubator-mxnet/pull/12999
 
 
   ## Description ##
   Check for invalid images before we pass them to OpenCV and throw a normal exception. Exceptions we can handle, OpenCV assertions not.
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [X ] Changes are complete (i.e. I finished coding on this PR)
   - [ X] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
   - [x ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
   
   ### Changes ###
   - Raise an excption when passing an empty buffer to imdecode.
   - Raise an exception when passing an invalid data buffer to imdecode. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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