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 01:33:37 +0000 (17:33 -0800)
commit66c25c360afb161be02fbdb8da21cd02c9d99447
treebe074370dd2463306f90556af03bca0ee8f7166c
parentb8e376906718fd4ea1ec7c9be258c99ec40900a9
Fix regerror(..., nullptr, 0).

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

(cherry picked from commit cac2908b08f517802e719ddafe39f45c85c96a33)

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