Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2018-11-18 | Make slideshow_save_image work again when opt.output_dir is unset | Daniel Friesel | -0/+1 | |
2017-10-03 | Make shell_escape available as a generic utility function | Daniel Friesel | -0/+23 | |
2017-08-25 | Silence warnings | orbea | -1/+1 | |
2017-04-02 | replace _emalloc with emalloc (is the same unless DMALLOC is used) | Daniel Friesel | -1/+1 | |
2017-04-02 | Merge pull request #290 from stoeckmann/emalloc | Daniel Friesel | -1/+1 | |
Check malloc return value for NULL. | ||||
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 | Check malloc return value for NULL. | Tobias Stoeckmann | -1/+1 | |
If malloc cannot allocate enough memory, it could return NULL. This is not necessarily true for default Linux settings, but can be provoked there as well by adjusting proc entries. Other systems like the *BSD ones definitely do this. The function _emalloc exists for exactly this purpose, so use it instead of calling malloc directly. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> | ||||
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 | |