diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-07-10 17:09:58 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-07-19 11:44:35 +0200 |
| commit | aa28f5bf5bd92e69c0e89a1a36c7c95f28b7057c (patch) | |
| tree | 90600bc702de0ee105c988bf5c792f324e0eab31 /src/tools/irm/irm_bind_ipcp.c | |
| parent | de9c30b2071e4aff8819d29c03d98767c8a3ec5b (diff) | |
| download | ouroboros-aa28f5bf5bd92e69c0e89a1a36c7c95f28b7057c.tar.gz ouroboros-aa28f5bf5bd92e69c0e89a1a36c7c95f28b7057c.zip | |
irmd: Avoid in-place byteswap in OAP header
gcc 12 -fanalyzer misclassifies kex_len = hton16(kex_len) followed by
memcpy(&kex_len) as a read of an uninitialized value. Write the
swapped value through the scratch variable like every other field in
write_oap_fixed().
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_bind_ipcp.c')
0 files changed, 0 insertions, 0 deletions
