Skip to content

glib: fix buffer overflow in g_canonicalize_filename()

Marc-André Lureau requested to merge malureau/glib:canon-fix into main

The output pointer must not go past the ending \0.

warning: HEAP[testglib.exe]: warning: Heap block at 0000011EA35745A0 modified at 0000011EA35745BF past requested size of f

Fixes commit 9a30a495 "gfileutils: Improve performance of g_canonicalize_filename()"

Related to #1371

Edited by Marc-André Lureau

Merge request reports