diff options
| author | Michael Forney <mforney@mforney.org> | 2021-09-06 18:07:08 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-09-06 18:16:31 -0700 |
| commit | 3ec2ee2d9d32734622aa1aff181f2dc0edb1ac2b (patch) | |
| tree | 3ea1c793f883a932e8b56455e3de389cb31bcc73 /pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch | |
| parent | 29b0d64dd0221c051b4d5cd619c87645ac630b19 (diff) | |
e2fsprogs: Update to 1.46.4
Diffstat (limited to 'pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch')
| -rw-r--r-- | pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch b/pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch deleted file mode 100644 index d27dac82..00000000 --- a/pkg/e2fsprogs/patch/0001-libext2fs-avoid-pointer-arithmetic-on-void.patch +++ /dev/null @@ -1,29 +0,0 @@ -From e659aeb8ee69392cba017fc306cdea20c8c97b70 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Tue, 2 Mar 2021 14:24:01 -0800 -Subject: [PATCH] libext2fs: avoid pointer arithmetic on `void *` - -The pointer operand to the + operator must be to a complete object -type. - -Signed-off-by: Michael Forney <mforney@mforney.org> ---- - e2fsck/recovery.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/e2fsck/recovery.c b/e2fsck/recovery.c -index 25744f08..3c5a37e9 100644 ---- a/e2fsck/recovery.c -+++ b/e2fsck/recovery.c -@@ -179,7 +179,7 @@ static int jbd2_descriptor_block_csum_verify(journal_t *j, void *buf) - if (!jbd2_journal_has_csum_v2or3(j)) - return 1; - -- tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - -+ tail = (struct jbd2_journal_block_tail *)((char *)buf + j->j_blocksize - - sizeof(struct jbd2_journal_block_tail)); - provided = tail->t_checksum; - tail->t_checksum = 0; --- -2.32.0 - |
