Commit Graph

2 Commits

Author SHA1 Message Date
Petr Menšík
af18e549c8 Use upstream version of CVE-2022-0934 fix
My previous downstream changes introduced a regression. Use instead
upstream tested change, which makes smaller change and does not create
new regression in relay code.

Resolves: rhbz#2126586
2023-01-26 18:42:54 +01:00
Petr Menšík
ea063256c7 Change message type by dedicated function
Long-term pointer to beginning of message does not work well. I case
outpacket is reallocated in any new_opt6() section, original outmsgtypep
pointer becomes invalid. Instead of using that pointer use dedicated
function, which will change just the first byte of the message.

This makes sure correct beginning of packet is always used.

Resolves: CVE-2022-0934
2022-04-27 21:55:10 +02:00