[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986591: attack of the hyphens



Package: fbreader
Version: 0.12.10dfsg2-4
Followup-For: Bug #986591

Dear Maintainer,

in my case, the bug is caused by pango's auto-hyphenation feature (which
was adeed and enabled by default, causing a lot of similar breakage in
other software), but the underlying cause is using uninitialised memory,
which is why it is happening randomly.

I fixed this by initialising the PangoAnalysis struct in
zlibrary/ui/src/gtk/view/ZLGtkPaintContext.cpp, in the constrcutor
(ZLGtkPaintContext::ZLGtkPaintContext), by adding:

  myAnalysis = PangoAnalysis ({0});

This might be a problem elsewhere in the code, which I haven't
investigated, as with this fix, fbreader becomes usable again.

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fbreader depends on:
ii  libc6                2.31-13+deb11u2
ii  libgcc-s1 [libgcc1]  10.2.1-6
ii  libgcc1              1:8.3.0-6
ii  libsqlite3-0         3.34.1-3
ii  libstdc++6           10.2.1-6
ii  libzlcore0.13        0.12.10dfsg2-4
ii  libzltext0.13        0.12.10dfsg2-4
ii  libzlui-gtk          0.12.10dfsg2-4

Versions of packages fbreader recommends:
ii  sensible-utils  0.0.14

fbreader suggests no packages.


Reply to: