glib/gmodule/tests
Philip Withnall 9b02e58e88 gmodule: Improve error handling for invalid .la files
If a `.la` file is empty, `lt_libdir` and/or `lt_dlname` won’t be set,
but will then still be used in `g_strconcat()`, leading to invalid
output.

Detect that and return an error.

Adds a unit test.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Coverity CID: #1474756
2022-07-06 13:33:10 +01:00
..
cxx.cpp Distribute cxx test tests/cxx-test.cpp to each module tests directory 2021-12-14 14:43:03 +01:00
libmoduletestplugin_a.c Move tests/module-test.c to gmodules/tests/ 2022-05-26 17:26:58 +01:00
libmoduletestplugin_b.c Move tests/module-test.c to gmodules/tests/ 2022-05-26 17:26:58 +01:00
meson.build build: Drop MALLOC_PERTURB_ from test environments 2022-06-21 12:50:31 +01:00
module-test.c gmodule: Improve error handling for invalid .la files 2022-07-06 13:33:10 +01:00