the bitrig pedro_clang_myeyes branch has been created by pedro.

it is 3 commits behind master, and 4 commits ahead.

commit 9f78de58c3e11193722cb781ff0bad79a452c26b
diff: https://github.com/bitrig/bitrig/commit/9f78de5
author: Pedro Martelletto <[email protected]>
date: Sun Mar 1 08:33:16 2015 +0100

Reapply 35e66e84.

Reapply 35e66e84, which was lost in the upgrade to clang 3.6.

commit 35e66e842e21f767da5d9d1c621b28a3d7977888
Author: pedro martelletto <[email protected]>
Date:   Sat Jul 19 09:30:34 2014 +0200

    disable colours by default in clang

    make '-fno-color-diagnostics' the default in clang. to enable colours,
    use -fcolor-diagnostics.

    ok natano@ patrick@ jcv@

M       contrib/llvm/tools/clang/lib/Driver/Tools.cpp

commit ec2b2d11eca4d3fe6813c128be69c780da61d449
diff: https://github.com/bitrig/bitrig/commit/ec2b2d1
author: Pedro Martelletto <[email protected]>
date: Sat Feb 28 19:24:14 2015 +0100

Fix uninitialised use of a pointer in read_mb().

Whenever the first 'if' in this function fails, the 'ifap' (no kidding)
pointer is used uninitialised in the error path.

Found by clang 3.6.

M       usr.bin/systat/mbufs.c

commit f2b6c81c576abbfc1ccc99d3ddc4e2d19a752bde
diff: https://github.com/bitrig/bitrig/commit/f2b6c81
author: Pedro Martelletto <[email protected]>
date: Sat Feb 28 18:09:00 2015 +0100

Fix uninitialised use of a pointer in show_database_head().

Whenever the link scope of an address can't be determined, the 'header'
pointer is used uninitialised in a call to printf().

Found by clang 3.6.

M       usr.sbin/ospf6ctl/ospf6ctl.c

commit 35093c1667c2af26b53b217527284f06135c8a92
diff: https://github.com/bitrig/bitrig/commit/35093c1
author: Pedro Martelletto <[email protected]>
date: Sat Feb 28 18:05:33 2015 +0100

Fix uninitialised use of a pointer in ldap_modify().

Whenever namespace_get() fails, 'vals' is used uninitialised in the
error path.

Found by clang 3.6.

M       usr.sbin/ldapd/modify.c

Reply via email to