Please review the attached patch. It fixes a potential division by zero in
textord/tabvector.cpp. In case the previous for loop is not executed, the
variables 'num_unmatched' and 'num_matched' will have the value 0. This leads
to a division by zero. The attached patch takes care, that this will not happen.
Best regards and many thanks
Martin Ettl
Original issue reported on code.google.com by ettl.mar...@gmail.com on 8 Sep 2014 at 10:38
Original issue reported on code.google.com by
ettl.mar...@gmail.com
on 8 Sep 2014 at 10:38Attachments: