in utils/cups-browsed.c there is: 2852 if (temp->media_source == NULL) { 2853 if (cluster_supports_given_attribute(cluster_name, IPP_TAG_KEYWORD, 2854 "media-source-supported")) { 2855 strcpy(temp->media_source,AUTO_OPTION); strcpy to a NULL dst will SEGV
Created attachment 596010 [details, diff] Fixes SEGV
The patch is very naive, check what upstream has to say in issue 175
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64d6fba8ed13603a8280f7c633211d4542cb5d0 commit e64d6fba8ed13603a8280f7c633211d4542cb5d0 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-11-14 08:14:49 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-11-14 08:15:17 +0000 net-print/cups-filters: Revbump to fix segfault in cups-browsed Reported-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Thanks-to: Joakim Tjernlund <joakim.tjernlund@infinera.com> Closes: https://bugs.gentoo.org/700024 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> ...25.12.ebuild => cups-filters-1.25.12-r1.ebuild} | 4 ++ .../cups-filters-1.25.12-browsed_segfault.patch | 69 ++++++++++++++++++++++ 2 files changed, 73 insertions(+)