[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Fwd: libxenserver crash


  • To: xen-api@xxxxxxxxxxxxx
  • From: Shakeel Butt <shakeel.butt@xxxxxxxxx>
  • Date: Tue, 25 Feb 2014 15:36:32 -0800
  • Delivery-date: Tue, 25 Feb 2014 23:37:02 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Forwarding a question asked on xenserver list.


---------- Forwarded message ----------
From: Shakeel Butt <shakeel.butt@xxxxxxxxx>
Date: Mon, Feb 24, 2014 at 6:10 PM
Subject: libxenserver crash
To: "xs-devel@xxxxxxxxxxxxxxxxxxx" <xs-devel@xxxxxxxxxxxxxxxxxxx>


Hi all,

I am trying to use libxenserver from XenServer 6.2.0 SDK but it is
crashing whenever I tried to free the records returned by
libxenserver. More specifically the program is crashing on the
following line for all the modules having function like
"*_record_map_free".

*_record_opt_free(map->contents[i].key);

On further investigation, in "xen_common.c::parse_into" the key is
just a malloc(ed) string but *_record_opt_free is assuming that the
key is of type struct *_record_opt and try to access its field which
is crashing.

Is this known issue or am I missing something?

thanks,
Shakeel

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.