diff options
| author | Michael Forney <mforney@mforney.org> | 2022-10-22 03:16:18 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2022-11-25 20:12:51 -0800 |
| commit | 0357aa47b64720f9cd4b74cc5891f4ff5d9ca74b (patch) | |
| tree | cc6fe0d77387d0fe700de41417ac497813052aa9 /pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch | |
| parent | fbd109c85f41a654e009cf18b0488a8d9bbdad33 (diff) | |
strace: Update to 5.19
Diffstat (limited to 'pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch')
| -rw-r--r-- | pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch b/pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch index afb64a88..2d9149b7 100644 --- a/pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch +++ b/pkg/strace/patch/0005-Avoid-pointer-arithmetic-on-void.patch @@ -1,4 +1,4 @@ -From 4cd0019ddd66505ce71f0cffa3627a4a038640ef Mon Sep 17 00:00:00 2001 +From 989bfd76544b4f62ade9e35d2476332934d27d86 Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Sun, 7 Jul 2019 21:25:13 -0700 Subject: [PATCH] Avoid pointer arithmetic on `void *` @@ -60,10 +60,10 @@ index 9603a6bb6..f5f747c42 100644 tprint_array_end(); diff --git a/src/sockaddr.c b/src/sockaddr.c -index a6e698d4b..52c10eac4 100644 +index 9139da1cd..7126ad2fc 100644 --- a/src/sockaddr.c +++ b/src/sockaddr.c -@@ -580,7 +580,7 @@ print_sockaddr_data_ll(struct tcb *tcp, const void *const buf, +@@ -583,7 +583,7 @@ print_sockaddr_data_ll(struct tcb *tcp, const void *const buf, static void print_sockaddr_data_raw(const void *const buf, const int addrlen) { @@ -72,7 +72,7 @@ index a6e698d4b..52c10eac4 100644 const int datalen = addrlen - SIZEOF_SA_FAMILY; tprints_field_name("sa_data"); -@@ -777,7 +777,7 @@ print_sockaddr_data_rxrpc(struct tcb *tcp, const void *const buf, +@@ -780,7 +780,7 @@ print_sockaddr_data_rxrpc(struct tcb *tcp, const void *const buf, tprints_field_name("transport"); tprint_struct_begin(); @@ -148,5 +148,5 @@ index c769a1916..ed401ae74 100644 } -- -2.34.1 +2.37.3 |
