lib/vsprintf: Fixes size check
Get series with b4
b4 am 177452711082.197965.4952719534268072174.stgit@devnote2Versions newest first · linked by author and title
- v6 Latest2 patches 3 repliesIn review
- v52 patches 5 repliesSuperseded
- v42 patches 13 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 2 patches | 9 replies | Superseded | |
| v2 | 2 patches | 4 replies | Superseded | |
| v1 | 1 patch | 2 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/vsprintf: Fix to check field_width and precisionlib/ | +14 | 0 replies | |
| 2/2 | lib/vsprintf: Limit the returning size to INT_MAXlib/ | +13 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Petr Mladek |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/2] lib/vsprintf: Fixes size check
Hi,
Here is the 6th version of patches to fix vsnprintf().
- Fix to limit the size of width and precision.
- Warn if the return size is over INT_MAX.
Previous version is here;
https://lore.kernel.org/all/177444525139.185641.12184379647176430297.stgit@devnote2/
This version just makes function header and WARN_ONCE() to one line[1/2]. No functional change.
Thank you,
---
Masami Hiramatsu (Google) (2):
lib/vsprintf: Fix to check field_width and precision lib/vsprintf: Limit the returning size to INT_MAX
lib/vsprintf.c | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-)
--
Masami Hiramatsu (Google) <[email protected]>