瀏覽代碼

Parise oops

Jon Parise 23 年之前
父節點
當前提交
4e655f1efd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ppremake/ppScope.cxx

+ 1 - 0
ppremake/ppScope.cxx

@@ -1924,6 +1924,7 @@ expand_makeguid(const string &params) {
   
   unsigned int len = names[0].size();
   unsigned char *name = new unsigned char[len];
+  memcpy(name, names[0].c_str(), len);
   MD5Init(&context);
   MD5Update(&context, name, len);
   MD5Final(digest, &context);