Opened 8 years ago

#10547 new Bugs

[boost/date_time/gregorian/gregorian.hpp] Purify detected UMRs

Reported by: Yevgeny Kalinsky <yevgeny_kalinsky@…> Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc:

Description

Hello,

We ran Purify on one of the boost tests: boost_1_56_0/libs/date_time/test/gregorian/testgreg_durations.cpp .

The test succeded, but there were UMRs (Uninitialized memory reads)detected in

short boost::date_time::wrapping_int2<short, 1, 12 >::add<short>(short) [... /boost_1_56_0/boost/date_time/wrapping_int.hpp:124]

and in

boost::date_time::month_functor<boost::gregorian::date>::get_offset(boost::gregorian::date const&) const [.../boost_1_56_0/boost/date_time/adjust_functors.hpp:91]

The compiler was gcc version 4.1.0 for Linux

Attachments (1)

testgreg_durations.pure.report.gz (2.5 KB ) - added by Yevgeny Kalinsky <yevgeny_kalinsky@…> 8 years ago.
Gzipped Purify report

Download all attachments as: .zip

Change History (1)

by Yevgeny Kalinsky <yevgeny_kalinsky@…>, 8 years ago

Gzipped Purify report

Note: See TracTickets for help on using tickets.