aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libgb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-04 19:19:26 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-04 19:19:26 +0200
commit4c9557ef24f267ad0912f1bff6b0fdcb52c74e68 (patch)
tree339fcec4f5244553b740add467333a9300d023b7 /openbsc/src/libgb
parent13673749ffdd8947af5ff69e477f9144e8afc57f (diff)
nat: Bail out if the regexp fails to compile and avoid a crash
If the regexp fails to compile the internal dfa is NULL and a regexec will crash nicely. Fail and free the string if the regexp fails to compile.
Diffstat (limited to 'openbsc/src/libgb')
0 files changed, 0 insertions, 0 deletions