diff options
| author | David Ward <david.ward@ll.mit.edu> | 2023-06-19 16:00:38 -0400 |
|---|---|---|
| committer | David Ward <david.ward@ll.mit.edu> | 2023-06-19 16:00:38 -0400 |
| commit | 9a2d6d98ec12f0adb63cc3748eeb1d9effcdd34b (patch) | |
| tree | 84e86869fb67b9ac5201ae064302680ff34ba604 /lib/json.c | |
| parent | 4230f85bef81902c6edc6b650096262f9a166baa (diff) | |
ospf6d: Increment sequence number correctly in Authentication Trailer
According to RFC 7166, the sequence number should be treated as an
unsigned 64-bit value, although it is stored as two 32-bit values.
When incrementing it, the code caused the lower-order 32-bit value
to skip from 0xFFFFFFFE to 0. As a side effect, an error was never
produced if the full 64-bit sequence number wrapped.
Fixes: #13805
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions
