projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c864594
)
Fix crash in atspi_image_get_image_description
author
Dan Winship
<danw@gnome.org>
Fri, 21 Jan 2011 16:27:16 +0000
(11:27 -0500)
committer
Mike Gorse
<mgorse@novell.com>
Fri, 21 Jan 2011 22:53:34 +0000
(16:53 -0600)
If the remote object didn't define this property then the function
would return stack garbage, which the caller would eventually try to
free.
https://bugzilla.gnome.org/show_bug.cgi?id=640198
atspi/atspi-image.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-image.c
b/atspi/atspi-image.c
index
75c3553
..
1d9a2b5
100644
(file)
--- a/
atspi/atspi-image.c
+++ b/
atspi/atspi-image.c
@@
-34,7
+34,7
@@
gchar *
atspi_image_get_image_description (AtspiImage *obj, GError **error)
{
- char *retval;
+ char *retval
= NULL
;
g_return_val_if_fail (obj != NULL, NULL);