Bug#871691: nss FTBFS on big endian: cpputil/databuffer.h:96:14: error: 'curve' may be used uninitialized in this function

Adrian Bunk bunk at debian.org
Thu Aug 10 17:27:53 UTC 2017


Source: nss
Version: 2:3.32-1
Severity: serious

https://buildd.debian.org/status/package.php?p=nss&suite=sid

...
In file included from test_io.h:17:0,
                 from gtest_utils.h:12,
                 from ssl_ecdh_unittest.cc:19:
../../cpputil/databuffer.h: In member function 'virtual nss_test::PacketFilter::Action nss_test::ECCServerKEXFilter::FilterHandshake(const nss_test::TlsHandshakeFilter::HandshakeHeader&, const nss_test::DataBuffer&, nss_test::DataBuffer*)':
../../cpputil/databuffer.h:96:14: error: 'curve' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     uint32_t nvalue = htonl(val);
              ^~~~~~
ssl_ecdh_unittest.cc:554:14: note: 'curve' was declared here
     uint32_t curve;
              ^~~~~
cc1plus: all warnings being treated as errors
../../coreconf/rules.mk:444: recipe for target 'OBJS/ssl_ecdh_unittest.o' failed
make[4]: *** [OBJS/ssl_ecdh_unittest.o] Error 1



More information about the pkg-mozilla-maintainers mailing list