-
Augusto Fraga Giachero authored
The 'long' type can be 32 bits or 64 bits depending on what compiler you are using (LLP64 vs LP64). If the long type is 64 bits the biHeight variable will receive a very big number when the bmp image height is negative, causing a std::bad_alloc exception when calling the 'image.set_size' method.
490754b3
Name |
Last commit
|
Last update |
---|---|---|
dlib | ||
docs | ||
examples | ||
python_examples | ||
tools | ||
.gitignore | ||
.hgignore | ||
.hgtags | ||
.travis.yml | ||
CMakeLists.txt | ||
ISSUE_TEMPLATE.md | ||
MANIFEST.in | ||
README.md | ||
setup.py |