• Juha Reunanen's avatar
    Problem: integer overflow when calculating sizes (may happen e.g. with very large images) (#1148) · cf5e25a9
    Juha Reunanen authored
    * Problem: integer overflow when calculating sizes (may happen e.g. with very large images)
    Solution: change some types from (unsigned) long to size_t
    
    # Conflicts:
    #	dlib/dnn/tensor.h
    
    * Fix the fact that std::numeric_limits<unsigned long>::max() isn't always the same number
    
    * Revert serialization changes
    
    * Review fix: use long long instead of size_t
    
    * From long to long long all the way
    
    * Change more types to (hopefully) make the compiler happy
    
    * Change many more types to size_t
    
    * Change even more types to size_t
    
    * Minor type changes
    cf5e25a9
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
python_examples Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
setup.py Loading commit data...