Package: atril / 1.26.0-2+deb12u3

Metadata

Package Version Patches format
atril 1.26.0-2+deb12u3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1001 webkit2gtk4.1.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 search for webkit2gtk-4.1.
1002 avoid crash on certain epub files.patch | (download)

backend/epub/epub-document.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 avoid crash on certain epub files

0001 Accessibility add button description.patch | (download)

po/POTFILES.in | 1 1 + 0 - 0 !
shell/ev-sidebar.c | 3 3 + 0 - 0 !
2 files changed, 4 insertions(+)

 [patch 01/10] accessibility: add button description

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

0003 epub Fix index loading for certain documents look fo.patch | (download)

backend/epub/epub-document.c | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 [patch 03/10] epub: fix index loading for certain documents - look
 for epub:type instead of epub:id.

Add a null check as well.

ref:
https://help.apple.com/itc/booksassetguide/en.lproj/itc0f175a5b9.html#apdd3c4c6d1c0904
https://idpf.org/epub/301/spec/epub-contentdocs-20140626.html#sec-xhtml-nav
Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

0004 epub add fallback for malformed epub files in check_.patch | (download)

backend/epub/epub-document.c | 66 38 + 28 - 0 !
1 file changed, 38 insertions(+), 28 deletions(-)

 [patch 04/10] epub: add fallback for malformed epub files in
 check_mime_type

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

0005 Use a blank line at most.patch | (download)

backend/comics/comics-document.c | 3 0 + 3 - 0 !
backend/djvu/djvu-document.c | 3 0 + 3 - 0 !
backend/djvu/djvu-links.c | 2 0 + 2 - 0 !
backend/djvu/djvu-text-page.c | 3 0 + 3 - 0 !
backend/djvu/djvu-text-page.h | 1 0 + 1 - 0 !
backend/dvi/dvi-document.c | 2 0 + 2 - 0 !
backend/dvi/fonts.c | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/afmparse.c | 18 0 + 18 - 0 !
backend/dvi/mdvi-lib/bitmap.c | 2 0 + 2 - 0 !
backend/dvi/mdvi-lib/color.c | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/color.h | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/fontmap.c | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/hash.c | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/hash.h | 2 0 + 2 - 0 !
backend/dvi/mdvi-lib/mdvi.h | 2 0 + 2 - 0 !
backend/dvi/mdvi-lib/paper.h | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/special.c | 1 0 + 1 - 0 !
backend/dvi/mdvi-lib/tfmfile.c | 1 0 + 1 - 0 !
backend/epub/epub-document.c | 6 0 + 6 - 0 !
backend/epub/minizip/ioapi.c | 6 0 + 6 - 0 !
backend/epub/minizip/ioapi.h | 7 0 + 7 - 0 !
backend/epub/minizip/unzip.c | 45 0 + 45 - 0 !
backend/epub/minizip/unzip.h | 11 0 + 11 - 0 !
backend/pdf/ev-poppler.h | 1 0 + 1 - 0 !
backend/pixbuf/pixbuf-document.c | 1 0 + 1 - 0 !
backend/tiff/tiff-document.c | 1 0 + 1 - 0 !
backend/tiff/tiff2ps.c | 2 0 + 2 - 0 !
backend/xps/xps-document.c | 2 0 + 2 - 0 !
cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 2 0 + 2 - 0 !
cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 1 0 + 1 - 0 !
cut-n-paste/toolbar-editor/egg-toolbar-editor.h | 2 0 + 2 - 0 !
cut-n-paste/toolbar-editor/egg-toolbars-model.c | 2 0 + 2 - 0 !
cut-n-paste/zoom-control/ephy-zoom.c | 1 0 + 1 - 0 !
libdocument/ev-document-attachments.c | 1 0 + 1 - 0 !
libdocument/ev-document-factory.c | 1 0 + 1 - 0 !
libdocument/ev-document-fonts.h | 1 0 + 1 - 0 !
libdocument/ev-document-misc.c | 1 0 + 1 - 0 !
libdocument/ev-document-security.h | 1 0 + 1 - 0 !
libdocument/ev-document-text.c | 1 0 + 1 - 0 !
libdocument/ev-document.c | 1 0 + 1 - 0 !
libdocument/ev-file-helpers.h | 1 0 + 1 - 0 !
libdocument/ev-form-field.h | 1 0 + 1 - 0 !
libdocument/ev-image.h | 1 0 + 1 - 0 !
libdocument/ev-render-context.h | 2 0 + 2 - 0 !
libdocument/ev-transition-effect.h | 2 0 + 2 - 0 !
libmisc/ev-page-action-widget.c | 3 0 + 3 - 0 !
libview/ev-page-accessible.c | 2 0 + 2 - 0 !
libview/ev-pixbuf-cache.c | 6 0 + 6 - 0 !
libview/ev-pixbuf-cache.h | 2 0 + 2 - 0 !
libview/ev-timeline.c | 2 0 + 2 - 0 !
libview/ev-timeline.h | 2 0 + 2 - 0 !
libview/ev-transition-animation.c | 2 0 + 2 - 0 !
libview/ev-transition-animation.h | 2 0 + 2 - 0 !
libview/ev-view-presentation.c | 1 0 + 1 - 0 !
libview/ev-view.c | 2 0 + 2 - 0 !
libview/ev-web-view.c | 2 0 + 2 - 0 !
libview/ev-web-view.h | 1 0 + 1 - 0 !
previewer/ev-previewer-window.c | 1 0 + 1 - 0 !
shell/eggfindbar.c | 1 0 + 1 - 0 !
shell/eggfindbar.h | 1 0 + 1 - 0 !
shell/ev-application.c | 2 0 + 2 - 0 !
shell/ev-bookmarks.h | 2 0 + 2 - 0 !
shell/ev-daemon.c | 1 0 + 1 - 0 !
shell/ev-history.c | 1 0 + 1 - 0 !
shell/ev-loading-message.c | 1 0 + 1 - 0 !
shell/ev-media-player-keys.h | 1 0 + 1 - 0 !
shell/ev-navigation-action.c | 1 0 + 1 - 0 !
shell/ev-open-recent-action.c | 1 0 + 1 - 0 !
shell/ev-password-view.c | 2 0 + 2 - 0 !
shell/ev-sidebar-attachments.c | 1 0 + 1 - 0 !
shell/ev-sidebar-bookmarks.c | 1 0 + 1 - 0 !
shell/ev-sidebar-layers.c | 1 0 + 1 - 0 !
shell/ev-sidebar-links.c | 3 0 + 3 - 0 !
shell/ev-sidebar-links.h | 1 0 + 1 - 0 !
shell/ev-sidebar-page.c | 1 0 + 1 - 0 !
shell/ev-sidebar-page.h | 1 0 + 1 - 0 !
shell/ev-sidebar-thumbnails.c | 1 0 + 1 - 0 !
shell/ev-sidebar-thumbnails.h | 1 0 + 1 - 0 !
shell/ev-sidebar.c | 1 0 + 1 - 0 !
shell/ev-sidebar.h | 1 0 + 1 - 0 !
shell/ev-window.c | 9 0 + 9 - 0 !
shell/ev-window.h | 2 0 + 2 - 0 !
shell/main.c | 4 0 + 4 - 0 !
83 files changed, 220 deletions(-)

 [patch 1/2] use a blank line at most

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

0006 comics Use libarchive to unpack documents.patch | (download)

backend/comics/Makefile.am | 5 4 + 1 - 0 !
backend/comics/comics-document.c | 1143 409 + 734 - 0 !
backend/comics/comics-document.h | 7 3 + 4 - 0 !
backend/comics/ev-archive.c | 323 323 + 0 - 0 !
backend/comics/ev-archive.h | 56 56 + 0 - 0 !
configure.ac | 3 3 + 0 - 0 !
libdocument/ev-document.h | 1 1 + 0 - 0 !
7 files changed, 799 insertions(+), 739 deletions(-)

 [patch 2/2] comics: use libarchive to unpack documents

This commit eliminates the use of external commands for opening
comic documents, and uses libarchive instead.

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

CVE 2023 52076.patch | (download)

backend/epub/epub-document.c | 28 22 + 6 - 0 !
1 file changed, 22 insertions(+), 6 deletions(-)

 [patch] epub: prevent path traversal when extracting files

Test each file's resolved path against the temporary directory
before extracting.