Open Bug 1631103 Opened 5 years ago Updated 3 years ago

Stop building DNS and arc4random components of libevent

Categories

(Core :: IPC, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jld, Unassigned)

References

Details

We don't use the DNS client built into libevent, or the PRNG it depends on, so we should stop building them. This will save some (probably not much) binary size, and it will allow us to be more certain that we're not affected by upstream security bugs.

This is mostly straightforward (and I have a patch that seems to work locally) except for needing to remove or stub out the initialization calls here and here.

Maybe this has become necessary now. Currently, Firefox fails to build with GLibC 2.36 because the added arc4random conflicts with the one from libevent, due to the hardcoded event-config.h for Linux having /* #undef EVENT__HAVE_ARC4RANDOM */.

See Also: → 1782988
You need to log in before you can comment on or make changes to this bug.