Public bug reported:

Binary package hint: inkscape

sizes array is 5 long, a typo causes us to write off the end. (If no
sizes were loaded from the preferences file).

diff -urNad inkscape-0.45.1~/src/dialogs/iconpreview.cpp 
inkscape-0.45.1/src/dialogs/iconpreview.cpp
--- inkscape-0.45.1~/src/dialogs/iconpreview.cpp        2007-12-22 
17:14:55.000000000 +0000
+++ inkscape-0.45.1/src/dialogs/iconpreview.cpp 2007-12-22 17:20:30.000000000 
+0000
@@ -130,7 +130,7 @@
         sizes[1] = 24;
         sizes[2] = 32;
         sizes[3] = 48;
-        sizes[5] = 128;
+        sizes[4] = 128;
     }
 
     pixMem = new guchar*[numEntries];

** Affects: inkscape (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Array out of bounds in Icon preview dialog
https://bugs.launchpad.net/bugs/178139
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to