AiPacino / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
2 stars 0 forks source link

[PATCH] Fix potential integer overflow when allocating memory in cube/char_samp.cpp #1114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please review the attached patch. It fixes three issues, where a potential 
integer overflow can happen, when allocating memory. The fix checks the bounds 
of the allocating variable before calling the new-operator.

Best regards and many thanks

Martin Ettl

Original issue reported on code.google.com by ettl.mar...@gmail.com on 16 Feb 2014 at 8:34

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1073.

Original comment by theraysm...@gmail.com on 24 Apr 2014 at 12:46