[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-5.0 0/6] Several error use-after-free
From: |
Markus Armbruster |
Subject: |
Re: [PATCH for-5.0 0/6] Several error use-after-free |
Date: |
Sat, 04 Apr 2020 14:18:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Vladimir Sementsov-Ogievskiy <address@hidden> writes:
> Hi all!
>
> I accidentally found use-after-free of local_err in mirror, and decided
> to search for similar cases with help of small coccinelle script
> (patch 01). Happily, there no many cases.
>
> Better to fix zero Error* pointer after each freeing everywhere, but
> this is too much for 5.0 and most of these cases will be covered by
> error-auto-propagation series.
>
> Note also, that there are still a lot of use-after-free cases possible
> when error is not local variable but field of some structure, shared by
> several functions.
I queued the part that hasn't been merged. Thanks!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH for-5.0 0/6] Several error use-after-free,
Markus Armbruster <=