GitHub PushEvent at 2014-11-06 16:59:10
Repository: xen
Actor: avsm
Payload: {"shas":[["379b351889a8f02abe30a06e2ce9ba8b381b91ab","9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com","tools: libxl: do not leak diskpath during local disk attach\n\nlibxl__device_disk_local_initiate_attach is assigning dls->diskpath with a\nstrdup of the device path. This is then passed to the callback, e.g.\nparse_bootloader_result but bootloader_cleanup will not free it.\n\nSince the callback is within the scope of the (e)gc and therefore doesn't need\nto be malloc'd, a gc'd alloc will do. All other assignments to this field use\nthe gc.\n\nhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767295\n\nReported-by: Gedalya <gedalya@gedalya.net>\nSigned-off-by: Ian Campbell <ian.campbell@citrix.com>\nAcked-by: Ian Jackson <ian.jackson@eu.citrix.com>\nAcked-by: Wei Liu <wei.liu2@citrix.com>","Ian Campbell",true],["5a430eca0b27354456d1245ed3f637d5f2e17883","9be92b3dbbd6611e3e4c9209fb3d04b4919e7cca@citrix.com","tools: libxl: do not overrun input buffer in libxl__parse_mac\n\nValgrind reports:\n==7971== Invalid read of size 1\n==7971==    at 0x40877BE: libxl__parse_mac (libxl_internal.c:288)\n==7971==    by 0x405C5F8: libxl__device_nic_from_xs_be (libxl.c:3405)\n==7971==    by 0x4065542: libxl__append_nic_list_of_type (libxl.c:3484)\n==7971==    by 0x4065542: libxl_device_nic_list (libxl.c:3504)\n==7971==    by 0x406F561: libxl_retrieve_domain_configuration (libxl.c:6661)\n==7971==    by 0x805671C: reload_domain_config (xl_cmdimpl.c:2037)\n==7971==    by 0x8057F30: handle_domain_death (xl_cmdimpl.c:2116)\n==7971==    by 0x8057F30: create_domain (xl_cmdimpl.c:2580)\n==7971==    by 0x805B4B2: main_create (xl_cmdimpl.c:4652)\n==7971==    by 0x804EAB2: main (xl.c:378)\n\nThis is because on the final iteration the tok += 3 skips over the terminating\nNUL to the next byte, and then *tok reads it. Fix this by using endptr as the\niterator.\n\nSigned-off-by: Ian Campbell <ian.campbell@citrix.com>\nReviewed-by: Don Slutz <dslutz@verizon.com>\nAcked-by: Wei Liu <wei.liu2@citrix.com>","Ian Campbell",true]],"size":2,"ref":"refs/heads/staging","head":"5a430eca0b27354456d1245ed3f637d5f2e17883"}