]> git.ipfire.org Git - thirdparty/kmod.git/commit
Use readdir_r in kmod_module_get_sections()
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 5 Dec 2011 15:40:16 +0000 (13:40 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 5 Dec 2011 15:41:10 +0000 (13:41 -0200)
commit40923bdb64459a5eee9d467563ffe9e661d803fe
treeab8f999c03543fdf05df7651069c119bc17e603e
parent53886ddd87bc78492c4e0a6a6f117bfdf1835fac
Use readdir_r in kmod_module_get_sections()

readdir() is not thread-safe. Use readdir_r instead.
libkmod/libkmod-module.c