projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afaa31
)
gmarkup: Make append_escaped_text() slightly more robust.
author
Hans Petter Jansson
<hpj@cl.no>
Tue, 28 Apr 2015 14:50:42 +0000
(16:50 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 May 2015 02:45:52 +0000
(22:45 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=631597
glib/gmarkup.c
patch
|
blob
|
history
diff --git
a/glib/gmarkup.c
b/glib/gmarkup.c
index
9b60387
..
4185ab3
100644
(file)
--- a/
glib/gmarkup.c
+++ b/
glib/gmarkup.c
@@
-2157,7
+2157,7
@@
append_escaped_text (GString *str,
p = text;
end = text + length;
- while (p
!=
end)
+ while (p
<
end)
{
const gchar *next;
next = g_utf8_next_char (p);