瀏覽代碼

Marked double quote bug for encore_hexstr.

AdrianSimionov 11 年之前
父節點
當前提交
5e01730449
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/docsis_encode.c

+ 1 - 0
src/docsis_encode.c

@@ -430,6 +430,7 @@ int encode_hexstr (unsigned char *buf, void *tval, struct symbol_entry *sym_ptr)
   fprintf(stderr, "encode_hexstr: found '%s' on line %d\n", helper->strval, line );
 #endif /* DEBUG */
   free(helper->strval);
+  /* TODO Fix bug added by free(helper->strval) when double quote is used in text config file. */
   return ( i );
 }