]> Kevux Git Server - fll/commitdiff
Bugfix: properly initialize name_size string_length
authorKevin Day <kevin@kevux.org>
Wed, 11 Jul 2012 03:30:16 +0000 (22:30 -0500)
committerKevin Day <kevin@kevux.org>
Wed, 11 Jul 2012 03:30:16 +0000 (22:30 -0500)
level_2/fll_execute/c/execute.c

index 0ebc98c6797a8bfe35c418afd02f485d9f3162b5..455419873951277e89107d1548b5fa47d90685bb 100644 (file)
@@ -28,7 +28,7 @@ extern "C"{
 
     f_string        last_slash   = f_string_initialize;
     f_string        program_name = f_string_initialize;
-    f_string_length name_size    = program_path;
+    f_string_length name_size    = 0;
 
     last_slash = strrchr(program_path, '/');