diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-09-02 10:26:57 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2024-09-03 17:30:41 +0200 |
| commit | f1bc6c5d81e8cc0d31ee61abb295193f30db4f5a (patch) | |
| tree | 7a3e662681cab765c8d24fabaaa68801aa62bbe4 /lib/imsg.c | |
| parent | 745cd3e6bf298da16379088e138e33aeb0ee8f52 (diff) | |
isisd: fix crash when reading asla
isisd is crashing when reading a ASLA sub-TLV with Application
Identifier Bit Mask length greater than 1 octet.
Set a limit of 8 bytes in accordance with RFC9479 and check that the
received value does not exceed the limit.
Reported-by: Iggy Frankovic <iggyfran@amazon.com>
Link: https://www.rfc-editor.org/rfc/rfc9479.html#name-application-identifier-bit-
Fixes: 5749ac83a8 ("isisd: add ASLA support")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/imsg.c')
0 files changed, 0 insertions, 0 deletions
