Messages in this thread | | | Date | Fri, 21 Jul 2023 15:17:31 +0100 | From | Simon Horman <> | Subject | Re: [PATCH v1] xfrm: add NULL check in xfrm_update_ae_params |
| |
On Fri, Jul 21, 2023 at 09:44:11AM +0800, Lin Ma wrote: > Normally, x->replay_esn and x->preplay_esn should be allocated at > xfrm_alloc_replay_state_esn(...) in xfrm_state_construct(..), hence the > frm_update_ae_params(...) is okay to update them. However, the current > impelementation of xfrm_new_ae(...) allows a malicious user to directly
nit: impelementation -> implementation
...
| |