Copy interfaces when creating a match rule
authorMike Gorse <mgorse@suse.com>
Sat, 16 Aug 2014 15:53:49 +0000 (10:53 -0500)
committerMike Gorse <mgorse@suse.com>
Sat, 16 Aug 2014 15:53:49 +0000 (10:53 -0500)
commitbb89b1efae6273fe89c6269fe4099bd2da8e4704
treea6b5449564d4baf791d53ffbc01ed6a789b90253
parenta41de8ae26c129cc33fbeb65a67b2c4afeb881d5
Copy interfaces when creating a match rule

We shouldn't assume that we own the list of interfaces passed in.
The caller may free the list, and then we have a pointer to invalid
data in the AtspiMatchRule structure, causing crashes.

https://bugzilla.gnome.org/show_bug.cgi?id=734805
atspi/atspi-matchrule.c