Re: [PATCH] cdc-acm: rework notification_buffer resizing
From: Oliver Neukum
Date: Tue Aug 04 2020 - 05:17:42 EST
Am Samstag, den 01.08.2020, 08:21 -0700 schrieb trix@xxxxxxxxxx:
> From: Tom Rix <trix@xxxxxxxxxx>
>
> Clang static analysis reports this error
>
> cdc-acm.c:409:3: warning: Use of memory after it is freed
> acm_process_notification(acm, (unsigned char *)dr);
>
> There are three problems, the first one is that dr is not reset
Hi,
thank you, good catch.
Regards
Oliver