0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 12:52:11 +00:00
Files
termux-packages/x11-packages/thunderbird/0022-check-if-dlpi_name-is-nullptr-before-using.patch
Robert Kirkman 0c687b97ed bump(x11/thunderbird): 137.0.1
- Fixes #24070

- makes the `mozconfig.cfg`, `build.sh` and patches of `thunderbird` very similar to `firefox`, except for places where `thunderbird` is different

- `disable-systray-x86_64.patch`: fixes the build of `thunderbird` 136.0.1 for x86_64 Termux specifically. has been tested at runtime on a bare metal 64-bit Android-x86 device, and behaves as expected (uniform behavior with other architectures of Termux `thunderbird` 136.0.1)

- `toolbar-based-custom-compose-window-width-for-ralfwerner.patch`: hardcoded custom dimensions of the edit window formatting toolbar to provide a workaround for edit window minimum text wrapping width high-dpi-scaling low-resolution situations in HTML mode while preserving the formatting toolbar functionality

- `icu-22132.patch`: fixes a bug in `libicu` that has been happening for a long time, which causes these features of `thunderbird` to begin functioning:
  - Search Bar
  - Address Book
  - Customize Toolbars
  - Calendar
  - Tasks
  - Chat
  - Settings Button
  - Hamburger Button
2025-04-05 11:14:51 -05:00

14 lines
571 B
Diff

https://github.com/termux/termux-packages/issues/19050
--- a/gfx/gl/GLContext.cpp
+++ b/gfx/gl/GLContext.cpp
@@ -2619,6 +2619,8 @@
dl_iterate_phdr(
[](dl_phdr_info* info, size_t size, void* data) {
auto& foundPath = *reinterpret_cast<Maybe<nsAutoCString>*>(data);
+ // XXX: `dlpi_name` may be nullptr, see termux/termux-packages#19050.
+ if (info->dlpi_name == nullptr) return 0;
nsDependentCString thisPath(info->dlpi_name);
if (StringEndsWith(thisPath, "/swrast_dri.so"_ns)) {
foundPath.emplace(thisPath);