[PATCH] server: zero allocated memory after allocating mappings

Alexandre Julliard julliard at winehq.org
Sun Apr 28 14:43:53 CDT 2019


Jefferson Carpenter <jeffersoncarpenter2 at gmail.com> writes:

> From 12fe924328dd2317741db9db28cb9a2ad03a8692 Mon Sep 17 00:00:00 2001
> From: Jefferson Carpenter <jeffersoncarpenter2 at gmail.com>
> Date: Sat, 27 Apr 2019 07:33:59 +0000
> Subject: [PATCH] server: zero allocated memory after allocating mappings
>
> An uninitialized read occurs in the send_reply function, after
> get_mapping_info calls set_reply_data( &mapping->image, &c..

Please try to figure out which field is not initialized and set it to a
correct value, instead of hiding the problem by zeroing everything.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list