regex: simplify op_count_full error check master
authorMarko Kreen <markokr@gmail.com>
Tue, 30 Dec 2014 13:18:52 +0000 (15:18 +0200)
committerMarko Kreen <markokr@gmail.com>
Tue, 30 Dec 2014 13:18:52 +0000 (15:18 +0200)
commitfe4dd0255ea796e64599c0fc28e6900fbc07e6aa
tree27dd4bdc30bf84dc355ee771144a65dbc3735300
parent57ab19322d1165ab342113b1e545b8256ee49b77
regex: simplify op_count_full error check

There was dummy loop with size limit for "performace" reasons,
but it triggered automatic checkers.  Remove complexity
by using strchr() there.

Reported-By: David Binderman
usual/regex.c