Closed Bug 1299058 Opened 10 years ago Closed 5 years ago

Remove the use of mincore in mozglue/linker/

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: glandium, Unassigned)

References

Details

See bug 1291768 for a case of mincore not returning an error, but the code still segfaulting while trying to read elf header. It turns out there's another place in the linker code that uses mincore, and that /may/ be affected by a similar bug, depending on what dladdr returns. Preventively, we should do the same kind of change as bug 1291768 in the remaining place using mincode in the linker code. The code should be factored so that the same function can be used in both places.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.