GNOME Bugzilla – Bug 766131
Update modeline parser
Last modified: 2016-05-10 19:40:32 UTC
I fixed an issue pointed out by the gcc address sanitizer in the gedit plugin. You may want to update your copy.
Hi. I would like to work on this bug if that's ok.. Any advice?
We do have a few changes in the modeline parser, so you'll need to look to apply the minimal amount of changes. (See libide/modelines/)
Created attachment 327599 [details] [review] Bug 766131 - Update modeline parser If while parsing a modeline we already reach \0 we should not increment the pointer, we must instead break out of the loop.
(In reply to Christian Hergert from comment #2) > We do have a few changes in the modeline parser, so you'll need to look to > apply the minimal amount of changes. (See libide/modelines/) Hi! I have attached a patch wherein changes were made along the lines of those made by Paolo Borelli (https://git.gnome.org/browse/gedit/commit/?id=b3a4e29) Kindly review and suggest changes! Thanks
Thanks for looking into this! Attachment 327599 [details] pushed as 441c35f - Bug 766131 - Update modeline parser
(In reply to Christian Hergert from comment #5) > Thanks for looking into this! > > Attachment 327599 [details] pushed as 441c35f - Bug 766131 - Update modeline > parser Can u pls suggest some bug i can work on? :)
(In reply to Raunaq from comment #6) > Can u pls suggest some bug i can work on? :) Better to ask on IRC so others can answer when I'm not around.