Hi, I applied the patch and try it on hplip 3.21.6+dfsg0-1.
No more stack smashing. But at a random point during the scan, simple-scan stop and display a message : « Failed to scan - Error communicating with scanner ». Nothing in the terminal nor in journald. The random point where it failed is random in the sense of when I scan, I can show the beginning of the scanned picture appear in simple-scan, and at one point (sometimes at the begining, sometimes near the end), the error message appear. Cheers, Florence Le Mon, 20 Sep 2021 19:18:11 +0200, Bernhard Übelacker <bernha...@mailbox.org> a écrit : > Hello Florence, dear Maintainer, > then attached patch is growing this buffer from 6 > to 10 usable bytes, making a size around 1 TB possible. > And tries to break the loop before overrunning the buffer. > > Unfortunately I cannot test this patch, > so it is completely untested, just compiles... > > Kind regards, > Bernhard > -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html
pgpxjlsmlHIlB.pgp
Description: Signature digitale OpenPGP