mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
769ddf6425
10 years ago (!) Bug 914190 already choked on the fact that bionic's getline implementation could realloc a buffer using a function call we cannot intercept, resulting in different memory allocator being used to allocate and free the getline buffer. This got hit again by 1850948, causing a backout. The approach taken at that time (use std::getline) is neither future-proof (as demonstrated by the backout) nor always satisfying (std::string as a few limitations in term of low-level buffer manipulation). Provide our implementation for Android, as hinted by the original bug. Differential Revision: https://phabricator.services.mozilla.com/D187270 |
||
---|---|---|
.. | ||
env_interposer.cpp | ||
getline_interposer.cpp | ||
InterposerHelper.h | ||
moz.build | ||
pthread_create_interposer.cpp |