Package: chiark-tcl
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).

Detected this kind of error:
http://clang.debian.net/status.php?version=3.6.0&key=VARIABLE_UNINITIALIZED_HERE

Full build log is available here:
http://clang.debian.net/logs/2015-03-25/chiark-tcl_1.1.3_unstable_clang.log

I have attached a patch to fix this error.


Regards,
--Arthur Marble


-- System Information:
Debian Release: sid (unstable)
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8"
Shell: /bin/sh linked to /bin/dash
Compiler: Debian clang version 3.6.2-3 (based on LLVM 3.6.2)
--- a/cdb/writeable.c
+++ b/cdb/writeable.c
@@ -74,7 +74,7 @@
 } HashValue;
 
 static HashValue *htv_prep(int len) {
-  HashValue *hd;
+  HashValue *hd = malloc(sizeof(*hd));
   hd= TALLOC((hd->data - (Byte*)hd) + len);
   hd->len= len;
   return hd;

Reply via email to