Files
shadow/src
Alejandro Colomar 1ee066ae1e src/useradd.c: set_defaults(): Fix FILE* leak
Report:
> shadow-4.15.0/src/useradd.c:575:2: alloc_fn: Storage is returned from allocation function "fdopen".
> shadow-4.15.0/src/useradd.c:575:2: var_assign: Assigning: "ofp" = storage returned from "fdopen(ofd, "w")".
> shadow-4.15.0/src/useradd.c:734:2: leaked_storage: Variable "ofp" going out of scope leaks the storage it points to.
> 732|           }
> 733|
> 734|->         return ret;
> 735|   }
> 736|

Link: <https://issues.redhat.com/browse/RHEL-35383>
Reported-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-05-18 01:15:10 +02:00
..
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2023-11-25 21:24:38 -06:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2021-12-23 19:36:50 -06:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2023-02-09 10:03:03 -06:00