|
From: | Paul Eggert |
Subject: | Re: [PATCH v2 02/10] gnulib/regexec: Fix possible null-dereference |
Date: | Wed, 1 Dec 2021 19:04:54 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/1/21 13:01, Robbie Harwood wrote:
It appears to be possible that the mctx->state_log field may be NULL,
I don't see how. re_search_internal sets mctx.state_log to a non-null value if dfa->has_mb_node, and clean_state_log_if_needed should be called only if dfa->has_mb_node is true. What am I missing?
[Prev in Thread] | Current Thread | [Next in Thread] |