Public bug reported: [ Impact ]
When creating QR Code images for long(er) URIs we may end up creating qr codes whose size isn't matching the expected one and this may lead to a wrongly generated texture (and potential memory access errors). An example: https://i.imgur.com/x3P4dzQ.png [ Test case ] In order to test this from GNOME shell, many components have to be set up that are harder to check so this can be easily simulated using a simple test program that replicates what the shell does to generate the image: https://www.pastery.net/uyzeca/ 1. Download and run the test script: $ wget -O /tmp/shell-qrcode-tester.py https://www.pastery.net/uyzeca/raw 2. Run it with: $ python3 /tmp/shell-qrcode-tester.py 3. The qrcode should open in a new window and display correctly as https://imgur.com/dddTL6u.png (pointing to https://bugs.launchpad.net/ubuntu/+source/gnome-shell) [ Regression potential ] QrCodes are used only during web authentication that is not something that is generally exposed to users, but this may potentially lead to wrong or missing qr codes textures. ** Affects: gnome-shell (Ubuntu) Importance: High Assignee: Marco Trevisan (Treviño) (3v1n0) Status: Fix Committed ** Affects: gnome-shell (Ubuntu Noble) Importance: High Assignee: Marco Trevisan (Treviño) (3v1n0) Status: Fix Committed ** Also affects: gnome-shell (Ubuntu Noble) Importance: Undecided Status: New ** Changed in: gnome-shell (Ubuntu Noble) Status: New => Fix Committed ** Changed in: gnome-shell (Ubuntu Noble) Importance: Undecided => High ** Changed in: gnome-shell (Ubuntu Noble) Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2067610 Title: GNOME Shell qrcode generator may create invalid QR code images To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2067610/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs