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

Re: [PATCH 2/3] tools/xenstore: fix hashtable_expand() zeroing new area


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Fri, 21 Jan 2022 14:55:46 +0000
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Fri, 21 Jan 2022 14:55:59 +0000
  • Ironport-data: A9a23:UDTV76KMTLkWDim7FE+RNJIlxSXFcZb7ZxGr2PjKsXjdYENS02QCz WofC22BafyKMDf2etF1atnkpENSupLSydZrTgZlqX01Q3x08seUXt7xwmUcns+xwm8vaGo9s q3yv/GZdJhcokcxIn5BC5C5xZVG/fjgqoHUVaiUakideSc+EH170Us5wrZj6mJVqYPR7z2l6 IuaT/L3YDdJ6xYsWo7Dw/vewP/HlK2aVAIw5jTSV9gS1LPtvyB94KYkDbOwNxPFrrx8RYZWc QphIIaRpQs19z91Yj+sfy2SnkciGtY+NiDW4pZatjTLbrGvaUXe345iXMfwZ3u7hB3Uz4tKm PtQrqXsE1kVEKHttbUvEAJXRnQW0a1uoNcrIFC6uM2XiUbHb2Ht07NlC0Re0Y8wo7gtRzsUr LpBdW5LPkvra+GemdpXTsFlgNgjK8/6epsSoHh6wRnSDOo8QICFSKLPjTNd9Glq2pkSRqqAD yYfQR1Qci3lPxhdA308KrU1x+eY3EDHfBQN/Tp5ooJoujOOnWSdyoPFL979atGMA8JPkS6wp H/C/mn/KgEXMpqY0zXt2nCjnOjUhgvgRZkfUra/85ZCkFCVg2AeFhASfV+6uuWizF6zXcpFL E4Z8TZoqrI9nHFHVfGkAUf++iTd+EdBBZwASIXW9T1h1IKJs12iVkYZVQcdMoIamsMXaG0Yl USGyoaB6SNUjJWZTneU97GxpDy0ODQIIWJqWR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ZE7aRWuvnzc9/7ZJ9WWmHB4AeeJqLBc4YkATB sUBFvhjzNrfv4fYnauac1wCNph9cv3DdoCl1y0yoG0+4AEA+rsesp8VOEqh28JAnOJKXXSWTYM gQmQnzkIFYNKIb0oQige20Z1utSJe5E5o5QWiku7tcuh92uoiWf3lvaGX8+EflSj/fPQOV8euF tx3PnCtHrXSRPm2ceZxZjDgV/KM4UM+KIpnMZyLyrFLLn3SNwy1VOXCuXYFBzVqreVQuUJxl9S KPsoKzk8rfODBNUAKFffhIKo
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Jan 20, 2022 at 01:02:35PM +0100, Juergen Gross wrote:
> When realloc()ing the hashtable for expanding it, zero out all the new
> bytes at the end of the table, not only one byte for each new element.
> 
> Fixes: 186f0e02a1c ("Added hashtable implementation")
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,

-- 
Anthony PERARD



 


Rackspace

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