mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Construct xc_sr_rhdr directly rather than in two halves. Use size_t for combined_len, which allows the later size check to spot a few more cases which might have truncated. Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Anthony PERARD <anthony.perard@vates.tech>