Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2017-04-02 | Merge pull request #289 from stoeckmann/memory-leak | Daniel Friesel | -0/+2 | |
Fixed memory leak on file name collision. | ||||
2017-04-02 | Fixed memory leak on file name collision. | Tobias Stoeckmann | -0/+2 | |
If feh_unique_filename encounters a file that already exists, the memory for the temporary filename is not released. As this happens in /tmp at some code places, an attacker could use this to spray the memory of feh, or simply triggering an out of memory condition. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> | ||||
2017-04-02 | Avoid out of boundary read on empty/broken file. | Tobias Stoeckmann | -2/+2 | |
If ereadfile encounters an empty file or the file could not be read, an out ouf boundary read (and possible write) occurs. Always check the return value of fread to be > 0 before processing the result buffer. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> | ||||
2014-04-14 | Use new path_is_url helper instead of repeated strncmp chains | Daniel Friesel | -0/+9 | |
2011-09-03 | utils.c: Remove unused functions stroflen, feh_get_tmp_dir, feh_get_user_name | Daniel Friesel | -44/+0 | |
2011-04-30 | Initial support for in-image warning display (closes #43) | Daniel Friesel | -4/+4 | |
2010-06-10 | Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic instead | Daniel Friesel | -2/+1 | |
2010-02-13 | Change source code indentation (indent -kr -i8 -hnl, mainly) | Daniel Friesel | -169/+158 | |
2010-02-05 | Initial commit (upstream 1.3.4) | Daniel Friesel | -0/+248 | |