From: aji <aji...@gm...> - 2006-12-10 16:40:08
|
Hello, I found L244 in e17/libs/ecore/src/lib/ecore/ecore_path.c (ecore_path_group_available) a strdup with a non null-terminated string. The cause is L239: "strncpy(n, d->d_name, l - 2);" (so ecore_list_append(avail, strdup(n)); is wrong). I propose a little patch (it sets '\0' and respects PATH_MAX). Perhaps that the cvs version preserves the extension's dot (exemple "been.so" -> "been." ), but I don't understand why so I didn't preserve this one in my patch. Aji. |