OSDN Git Service

Fix regerror(..., nullptr, 0).
authorElliott Hughes <enh@google.com>
Sat, 13 Feb 2016 00:00:53 +0000 (16:00 -0800)
committerElliott Hughes <enh@google.com>
Sat, 13 Feb 2016 00:00:53 +0000 (16:00 -0800)
commitcac2908b08f517802e719ddafe39f45c85c96a33
tree7bea048743bbf54843f6c84493353508c918e4b4
parent9750a77b31f2fc6d548a02b3a9750c2794648fea
Fix regerror(..., nullptr, 0).

Found by passing a bad regular expression to the Google benchmark
code (https://github.com/google/benchmark).

Change-Id: I475db71c25706bbf02091b754acabe8254062f3a
libc/Android.mk
libc/upstream-netbsd/android/include/netbsd-compat.h
tests/regex_test.cpp