mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 20:58:16 +00:00
nc: Fix overflow in port and local_port argument
This commit is contained in:
parent
4ebc7306da
commit
006d2e6508
Notes:
sideshowbarker
2024-07-16 21:51:02 +09:00
Author: https://github.com/fdellwing
Commit: 006d2e6508
Pull-request: https://github.com/SerenityOS/serenity/pull/18536
Reviewed-by: https://github.com/fernetmatt ✅
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
bool udp_mode = false;
|
||||
bool numeric_mode = false;
|
||||
DeprecatedString target;
|
||||
int port = 0;
|
||||
int local_port = 0;
|
||||
u16 port = 0;
|
||||
u16 local_port = 0;
|
||||
int maximum_tcp_receive_buffer_size_input = -1;
|
||||
|
||||
Core::ArgsParser args_parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue