• Vadim Pisarevsky's avatar
    Merge pull request #16488 from vpisarev:filestorage_longlines · 3efa7831
    Vadim Pisarevsky authored
    trying to fix handling file storages with extremely long lines
    
    * trying to fix handling of file storages with extremely long lines: https://github.com/opencv/opencv/issues/11061
    
    * * fixed errorneous pointer access in JSON parser.
    * it's now crash-test time! temporarily set the initial parser buffer size to just 40 bytes. let's run all the test and check if the buffer is always correctly resized and handled
    
    * fixed pointer use in JSON parser; added the proper test to catch this case
    
    * fixed the test to make it more challenging. generate test json with
    *
    **
    ***
    etc. shape
    3efa7831
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...