libsystemd-network: fix dhcp option buffer confusion
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Apr 2021 08:55:09 +0000 (04:55 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Apr 2021 04:46:48 +0000 (13:46 +0900)
commit828b603a791edd04a5c3603456aa8caca44ce67e
tree31e5a9c2c2376666830f4a81d74388a04a5ca9eb
parentd5b3e5104448ebfecd334c26dbdd3a8274440b1e
libsystemd-network: fix dhcp option buffer confusion

We were writing to the wrong buffer with a wrong offset :(
Bug present since the original introduction of the code in
04b28be1a306fd2ba454d3ee333d63df71aa3873.
src/libsystemd-network/dhcp-option.c