diff options
author | Christopher Ferris <cferris@google.com> | 2014-08-26 20:48:11 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-08-27 16:01:57 -0700 |
commit | 052fa3a34c07b9b361c30565f029dd543da14e30 (patch) | |
tree | 5f75775c9c66e9faf00c5dba09bae36449b74a64 /tests/sys_socket_test.cpp | |
parent | 4f8268e38f151724722bcb489c32185a93fd86ba (diff) |
Replace snprintf calls in linker.
When enabling debug malloc, the snprintf calls in the linker fails to
update the buffer.
The problem is that snprintf makes a call to pthread_getspecific that
returns a valid pointer, but the data it points to is zero. This should
never happen and causes the snprintf to stop and do nothing.
Temporarily replace snprintf with a different implementation to work
around this issue.
Bug: 16874447
Bug: 17302493
(cherry pick from commit 172955a4e30b88ce8239a7ef426b4e8903e9923c)
Change-Id: Idca9d417978403d61debfd0434aaa82fd770f33b
Diffstat (limited to 'tests/sys_socket_test.cpp')
0 files changed, 0 insertions, 0 deletions