mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 04:17:25 +00:00
Fix 1445553 Uninitialized scalar variable
This commit is contained in:
parent
d95406b82e
commit
2d1733c3dc
@ -564,7 +564,7 @@ static int r_core_rtr_gdb_run(RCore *core, int launch, const char *path) {
|
||||
return -1;
|
||||
}
|
||||
if (!(p = atoi (path)) || p < 0 || p > 65535) {
|
||||
eprintf ("gdbserver: Invalid port: %s\n", port);
|
||||
eprintf ("gdbserver: Invalid port: %s\n", p);
|
||||
return -1;
|
||||
}
|
||||
snprintf (port, sizeof (port) - 1, "%d", p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user