Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #225

Merged
merged 9 commits into from
Feb 2, 2024
Merged

Dev #225

merged 9 commits into from
Feb 2, 2024

Conversation

GIC-de
Copy link
Member

@GIC-de GIC-de commented Feb 2, 2024

New Features

  • ncurses UI enhancements (loss percentage, rate Gbps, ...)
  • lspgen configuration reader support for OSPFv2/3
  • add option to disable stream-delay-calculation

Fixes

  • fix BGP holdtime 3
  • fix lspgen fletcher checksum
  • fix lspgen socket communication

@GIC-de GIC-de self-assigned this Feb 2, 2024
@@ -827,6 +827,11 @@
case OSPF_TLV_HOSTNAME:
len += snprintf(buf+len, sizeof(buf)-len, ": %s", attr->key.hostname);
break;
case OSPF_TLV_SID_LABEL_RANGE:
len += snprintf(buf+len, sizeof(buf)-len, ": base %u, range %u",

Check failure

Code scanning / CodeQL

Potentially overflowing call to snprintf High

The
size argument
of this snprintf call is derived from its return value, which may exceed the size of the buffer and overflow.
@GIC-de GIC-de merged commit 0f044e2 into main Feb 2, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant