gecko-dev/mozglue
serge-sans-paille 769ddf6425 Bug 1851154 - Provide our own implementation of C's getline for Android r=jld
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
2023-09-04 07:00:31 +00:00
..
android Bug 1839762 - Cast scoped enums to their underlying type when printing them. r=media-playback-reviewers,necko-reviewers,application-update-reviewers,geckoview-reviewers,handyman,emilio,valentin,bytesized,owlish,karlt 2023-06-24 20:14:31 +00:00
baseprofiler Bug 1838497 - Add a profiler feature to record the clock frequency of every core while sampling, r=canaltinova. 2023-08-10 10:27:14 +00:00
build Bug 1823953 - Add a suppression for vorbis_synthesis_init. r=decoder 2023-08-08 12:12:58 +00:00
interposers Bug 1851154 - Provide our own implementation of C's getline for Android r=jld 2023-09-04 07:00:31 +00:00
linker Bug 1824518 - Make mozglue/linker/tests buildable outside of a unified build environment r=andi 2023-03-30 13:48:34 +00:00
misc Bug 1850569 - Make it easier for the compiler to analyze mozilla::PrintfTarget::fill_n r=emilio 2023-08-29 19:33:46 +00:00
static Bug 1841905 - Update builders to rustc 1.72. r=firefox-build-system-reviewers,andi 2023-08-28 21:02:47 +00:00
tests Bug 1806947 - Skip TestStackWalk on TSAN. r=decoder DONTBUILD 2023-04-24 12:46:39 +00:00
moz.build Bug 1836478 - Disable mozglue interposers for snapshot fuzzing. r=gsvelto 2023-06-02 16:17:14 +00:00