Bug#912993: Debian bug 912993
Hi Martin-Éric,
I've seen your decision about becoming a DM in the recent changelog
update. Congratulations and thanks for taking over the responsibility!
However, I'd like to challenge your decision of closing this bug:
On 2025-03-11 19:28, Martin-Éric Racine wrote:
> Since this is merely a question of preferred behavior that can be
> easily configured by changing the value for TitlePref, I'm closing
> this bug.
since I'm quite confident that there *is* a bug if one wants to use
TitlePref=0. Which I happen to do.
As I mentioned already in my update #40 [1] (with different email
address back then), the following block from cups-pdf.c
------------------------------ snip ------------------------------
if (sscanf(buffer, "%%%%Title: %"TBUFSIZE"c", title)==1) {
log_event(CPDEBUG, "found title in ps code: %s", title);
is_title=1;
}
------------------------------ snip ------------------------------
is buggy since sscanf does not zero-terminate the string.
I can provide a patch for that if you see any chances to get this
incorporated.
Thanks again
Jens
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912993#40
Reply to: