Iker Pedrosa 4c16416ebc port: fix OVERRUN (CWE-119)
```
shadow-4.15.0/lib/port.c:154:2: alias: Assigning: "port.pt_names" = "ttys". "port.pt_names" now points to element 0 of "ttys" (which consists of 65 8-byte elements).
shadow-4.15.0/lib/port.c:155:2: cond_const: Checking "j < 64" implies that "j" is 64 on the false branch.
shadow-4.15.0/lib/port.c:175:2: overrun-local: Overrunning array of 65 8-byte elements at element index 65 (byte offset 527) by dereferencing pointer "port.pt_names + (j + 1)".
173|           *cp = '\0';
174|           cp++;
175|->         port.pt_names[j + 1] = NULL;
176|
177|           /*
```

Resolves: https://issues.redhat.com/browse/RHEL-35383

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
2024-05-17 16:08:26 +02:00
..
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-02-24 12:44:14 -06:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2023-08-31 08:55:26 +02:00
2024-03-10 19:56:40 -05:00
2023-03-31 09:53:40 -05:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2023-08-31 08:55:26 +02:00
2022-12-22 11:43:29 +01:00
2023-09-01 09:39:23 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2022-12-22 11:43:29 +01:00
2023-08-31 08:55:26 +02:00
2024-05-17 16:08:26 +02:00
2021-12-23 19:36:50 -06:00
2022-05-24 07:49:11 -05:00
2024-01-05 15:41:12 -06:00
2023-08-31 08:55:26 +02:00
2021-12-23 19:36:50 -06:00
2023-08-31 08:55:26 +02:00
2022-05-24 07:49:11 -05:00
2023-09-01 09:39:23 +02:00
2023-08-31 08:55:26 +02:00
2021-12-23 19:36:50 -06:00
2021-12-23 19:36:50 -06:00
2023-01-26 22:44:39 -06:00
2024-02-20 18:53:53 +01:00
2023-06-08 09:05:39 -05:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2010-03-18 19:23:00 +00:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00
2023-08-31 08:55:26 +02:00