|
| From: | Alex Bennée |
| Subject: | Re: [PATCH v4 07/53] semihosting: Simplify softmmu_lock_user_string |
| Date: | Wed, 08 Jun 2022 17:10:12 +0100 |
| User-agent: | mu4e 1.7.26; emacs 28.1.50 |
Richard Henderson <richard.henderson@linaro.org> writes: > We are not currently bounding the search to the 1024 bytes > that we allocated, possibly overrunning the buffer. > Use softmmu_strlen_user to find the length and allocate the > correct size from the beginning. > > Reviewed-by: Peter Maydell <peter.maydell@linaro.org> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
| [Prev in Thread] | Current Thread | [Next in Thread] |