commit | 4c9557ef24f267ad0912f1bff6b0fdcb52c74e68 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Apr 04 19:19:26 2011 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Apr 04 19:19:26 2011 +0200 |
tree | 339fcec4f5244553b740add467333a9300d023b7 | |
parent | 13673749ffdd8947af5ff69e477f9144e8afc57f [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.