legacy-imlib2/src/lib
Guilherme Janczak 84314f013f
remove bad unused function
__imlib_FileCanRead() suffers from TOCTTOU issues. The file behind the
path it takes as a parameter can change while the function executes, and
also between the function's return and the caller's use of the path.

The function is also unused, so just delete it.
2023-02-04 04:17:57 +00:00
..
Imlib2.h.in api: Change some parameter names 2023-01-14 08:59:17 +01:00
Imlib2_Loader.h Loaders: Avoid cast-align warnings with -Wcast-align=strict 2023-01-29 10:25:08 +01:00
Makefile.am Enable disabling text functions 2022-08-26 06:33:32 +02:00
amd64_blend.S Fix alignment error on amd64 (patch from Erik Boettcher). 2009-01-01 13:59:21 +00:00
amd64_blend_cmod.S Fix alignment error on amd64 (patch from Erik Boettcher). 2009-01-01 13:59:21 +00:00
api.c api: Remember error on deferred image data loads 2023-01-14 10:47:12 +01:00
api.h Introduce imlib_get_error() 2022-09-30 06:04:27 +02:00
api_filter.c api: Remember error on deferred image data loads 2023-01-14 10:47:12 +01:00
api_obsolete.c Deal consistently with including Imlib2.h 2022-03-03 07:35:39 +01:00
api_text.c api: Remember error on deferred image data loads 2023-01-14 10:47:12 +01:00
api_x11.c api: Remember error on deferred image data loads 2023-01-14 10:47:12 +01:00
asm.h Indent the remaining unindented files. 2014-12-20 17:02:11 +01:00
asm_blend.S Patch from Dmitry Antipov: 2006-04-09 08:12:51 +00:00
asm_blend_cmod.S Patch from Dmitry Antipov: 2006-04-09 08:12:51 +00:00
asm_c.c Remove system includes from common.h 2022-03-07 08:01:19 +01:00
asm_c.h Refactor condition for using assembly functions 2021-12-04 15:14:50 +01:00
asm_loadimmq.S merge PIC-happy code by PaX/Kevin Quinn/me 2005-08-10 05:10:19 +00:00
asm_rgba.S Patch from Dmitry Antipov: 2006-04-09 08:12:51 +00:00
asm_rotate.S Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
asm_scale.S Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
blend.c Drop some redundant calls to __imlib_LoadImageData() 2023-01-14 10:47:12 +01:00
blend.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
color_helpers.c Remove system includes from common.h 2022-03-07 08:01:19 +01:00
color_helpers.h Remove system includes from common.h 2022-03-07 08:01:19 +01:00
colormod.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
colormod.h image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
common.h Avoid some more undefined behaviors with shifts 2023-01-13 10:55:47 +01:00
debug.c debug: Export __imlib_time_us() 2022-04-13 19:52:50 +02:00
debug.h debug.c/h: Move __EXPORT__ to .c file 2022-03-07 08:01:06 +01:00
draw_ellipse.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
draw_line.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
draw_polygon.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
draw_rectangle.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
dynamic_filters.c Includes tweaks 2022-09-28 18:19:07 +02:00
dynamic_filters.h Drop some intermediate type definitions 2021-12-21 06:05:32 +01:00
file.c remove bad unused function 2023-02-04 04:17:57 +00:00
file.h remove bad unused function 2023-02-04 04:17:57 +00:00
filter.c Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
filter.h Remove system includes from common.h 2022-03-07 08:01:19 +01:00
font.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
font_draw.c image: Let __imlib_CreateImage() allocate pixel data buffer 2023-01-14 08:59:32 +01:00
font_load.c Remove some deprecation comments 2022-03-17 15:14:00 +01:00
font_main.c Remove some unnecessary headers 2022-03-07 08:02:04 +01:00
font_query.c Remove some unnecessary headers 2022-03-07 08:02:04 +01:00
grad.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
grad.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
image.c image: Let __imlib_CreateImage() allocate pixel data buffer 2023-01-14 08:59:32 +01:00
image.h image: Let __imlib_CreateImage() allocate pixel data buffer 2023-01-14 08:59:32 +01:00
image_tags.c Cleanups: while->for loops (im->tags list) 2021-07-10 15:44:17 +02:00
loaders.c Add new ani loader 2022-12-08 17:46:09 +01:00
loaders.h loading: New loader infrastructure 2022-07-10 12:50:40 +02:00
modules.c modules: Fix signdness warning 2022-06-30 08:17:44 +02:00
object.c Remove system includes from common.h 2022-03-07 08:01:19 +01:00
object.h Move some code as suggested in source 2022-01-26 20:23:46 +01:00
rgbadraw.c Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
rgbadraw.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
rotate.c Drop some redundant calls to __imlib_LoadImageData() 2023-01-14 10:47:12 +01:00
rotate.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
scale.c check for alloc failures some more 2022-05-09 15:15:10 +02:00
scale.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
script.c Includes tweaks 2022-09-28 18:19:07 +02:00
script.h Revert a couple of unintended changes 2022-04-07 12:37:36 +02:00
span.c Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
span.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
strutils.c Introduce strsplit() 2022-06-23 07:36:23 +02:00
strutils.h Introduce strsplit() 2022-06-23 07:36:23 +02:00
types.h loading: New loader infrastructure 2022-07-10 12:50:40 +02:00
updates.c check for alloc failures some more 2022-05-09 15:15:10 +02:00
updates.h Introduce types.h 2022-03-07 08:01:37 +01:00
x11_color.c x11_color: Simplify and fix error paths 2022-05-10 14:58:31 +02:00
x11_color.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
x11_context.c Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
x11_context.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
x11_grab.c x11_grab: Avoid cast-align warnings with -Wcast-align=strict 2023-01-28 16:16:17 +01:00
x11_grab.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
x11_pixmap.c image: Change has alpha flag to separate byte 2022-07-10 12:50:40 +02:00
x11_pixmap.h Introduce types.h 2022-03-07 08:01:37 +01:00
x11_rend.c image: Let __imlib_CreateImage() allocate pixel data buffer 2023-01-14 08:59:32 +01:00
x11_rend.h Use stdint types instead of DATA32 etc. 2022-03-26 15:54:40 +01:00
x11_rgba.c x11_rgba: Avoid cast-align warnings with -Wcast-align=strict 2023-01-28 16:16:17 +01:00
x11_rgba.h x11_rgba: Add missing const 2023-01-28 16:16:17 +01:00
x11_ximage.c Remove system includes from common.h 2022-03-07 08:01:19 +01:00
x11_ximage.h Remove system includes from common.h 2022-03-07 08:01:19 +01:00