diff options
author | Andreas <nordominus@users.noreply.github.com> | 2019-11-19 05:07:06 +0100 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-11-19 13:07:06 +0900 |
commit | 346781ff633aee48eee5700a0b379d97cf86c935 (patch) | |
tree | b771a62a82ea9c785fac3d320a06272c426ec455 /include | |
parent | b38a8d1631cf7fc8eec6d1e88b60d5db340ee376 (diff) | |
download | DLT-daemon-346781ff633aee48eee5700a0b379d97cf86c935.tar.gz |
Fix a potential memory leak in file transfer (#126)
* Fix a potential memory leak in file transfer
This potential memory leak in dlt-system-filetransfer.c can happen if only a filename
is passed to dirname(). In the current implementation of dlt-daemon, this issue cannot happen.
But in case of refactoring or different usage there is a chance that it can be triggered.
See: https://linux.die.net/man/3/dirname
Signed-off-by: Andreas Seidl <andreas.seidl@daimler.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions