Commit da900ca9 authored by Marc Hoersken's avatar Marc Hoersken
Browse files

tool_formparse.c: fix possible use of non-null-terminated strings

parent b0e74254
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -150,8 +150,8 @@ int formparse(struct OperationConfig *config,
     build a linked list with the info */
  char name[256];
  char *contents = NULL;
  char type_major[128];
  char type_minor[128];
  char type_major[128] = "";
  char type_minor[128] = "";
  char *contp;
  const char *type = NULL;
  char *sep;