Fix GCC -Wstringop-truncation warnings
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesIn review
- v1 RFC2 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Fix paper-bag bug in kobject patch, using memcpy() now
- Fix data leakage issue crypto patch pointed out by Eric Biggers
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto: Fix -Wstringop-truncation warningscrypto/ crypto/ | +3 | 3 replies | |
| 2/2 | kobject: Fix -Wstringop-truncation warninglib/ | +1 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Christophe Leroy |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Fix GCC -Wstringop-truncation warnings
Hello,
When compiling OpenRISC kernels with our new toolchain based on GCC 9.0.0 I am seeing various -Wstringop-truncation warnings. There might be more as I am not compiling all drivers/modules yet, if someone thinks thats helpful let me know.
I discussed this with Greg KH at the OSS Summit Japan 2018 and it seems no one has pointed these out yet, so here are the patches... Actually, the crypto issue was reported before, but the patch was discarded as it introduced a data leakage bug pointed out by Erix.
As for merging, I think the maintainers should pick these up separately. Let me know if you want something else.
Changes since v1:
- Fix paper-bag bug in kobject patch, using memcpy() now
- Fix data leakage issue crypto patch pointed out by Eric Biggers
-Stafford
Stafford Horne (2):
crypto: Fix -Wstringop-truncation warnings
kobject: Fix -Wstringop-truncation warning
crypto/ablkcipher.c | 2 ++ crypto/blkcipher.c | 1 + lib/kobject.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.0