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

Re: [Xen-devel] [PATCH] tests/cpu-policy: fix format-overflow warning by null terminating strings


  • To: Dario Faggioli <dfaggioli@xxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Wed, 31 Jul 2019 08:11:06 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uxMIhRZu/6FC5yiR3HF5MkYdAza+FZxLnpsid04O4z8=; b=PefbSFzatBJlhfpRnYR1KSG4Ll4jPSHTHaNTk5MyFKavXh+MOgeAwxvZOmWxTexVlBMTZaGV5Rqf9qzUmdvrdNEqeGE179babQvvRzq5QDqaDdXDJ9ULEUddVql5EcWvKH9GqdzUsGH+YxPceM1czpRy1bay33omZvCcu8zrVxQbpL0AjIQIH5uOGpZKxSZvvu1ZNvogA+q7/CjoWO/2lZq//+u1UzzDMOQqLEBAHq1HbvDFOGU67vGyef7HQCV0zFEu8gBSzel5gXkw+9gwh6Lby9ztd2KY1z5zkyJGj5de6XF348qEATyclr1XUipkWLnzwmK8sQUztkxIejcscg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvRsbqhXAeBEMOpo2eVAeL7nzZ2Du1zVVMEBQDuQEl6Vlkm7GkbcrsdEzbQs7V7RlruM1cqx19M+e4PqxOaqE5UGga9CoLea4TFwdcu0IU/liiszJdQeqRcK+/8FVn0KHOCNKCwtp0O6U/PxUibV8FMImPqw5JC+FQsmXmuSCe5wO6q8tc3h7emNy861VF9ejUQP8K9UfmvRSmacqnjUsxpYPeqTDZ/kRDLnSc6ZmWfXfC7Dq73mXNCEE6uewlQkfGZuWys3Sy0ixVbLO8Je+sEcdrX2pUL1jtU6IwchuG7bPoj1jFQZCWztPp8iHWmZcLGIjCJWIMtufixT6ihg1w==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Wei Liu <wl@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, IanJackson <ian.jackson@xxxxxxxxxxxxx>, "christopher.w.clark@xxxxxxxxx" <christopher.w.clark@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 31 Jul 2019 08:28:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQoNqxP3NLSDaSUO4Yjwj1hPOv6bjWDkAgAAJNRmAAIXmyIAAgpwA
  • Thread-topic: [Xen-devel] [PATCH] tests/cpu-policy: fix format-overflow warning by null terminating strings

On 31.07.2019 02:22, Dario Faggioli wrote:
> Jan's example above, seem to compile **without any warnings** for me as
> well. If I add a main(), I can even get the code above to print the
> content of the array.
> 
> And yet, building the tools without a patch like Christoper's one
> (which was also what I was using locally, and raised to Andy), I get:

Sure - I'm aware that we're using a (potentially heavily) patched gcc.
Hence my question to Christopher whether he's using a plain one.

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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