GNOME Bugzilla – Bug 677944
Patch for a crash due to high column number given by +nn:mm
Last modified: 2012-09-18 15:58:59 UTC
Created attachment 216204 [details] [review] The patch fixing some of the +LINE:COL crashes See the crash with: echo four >/tmp/four gedit /tmp/four +1:6 Attached is the patch that solves part of this problem, that is, for already open files. For newly opened documents it requires exact meaning of variables holding column numbers to be decided by the dev team: user-wished col. number or maybe correctly clamped col. number (look what happens with +LINE:COL in gedit-document.c). This is what I posted to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675249, but looks it fits better here.
One more thing: I consider this bug severe, because the crash causes instant loss of all unsaved data in gedit.
Hey, sorry for the really late response. This bug is really bad and we should definitely look at it.
Hopefully fixed in http://git.gnome.org/browse/gedit/commit/?id=581297bd49268145c0ed958f74db81d4c709de10 Thanks again for the report