Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2008-02-10 09:37:41

In libs/date_time/src/gregorian/greg_month.cpp we have:

    short i = date_time::find_match(special_value_names,

This results in a read past the end of the array. I believe the caller
should pass NumSpecialValues-1 and the error check after it should be

    if(i >= date_time::NumSpecialValues) { // match not found


"There are basically two types of people. People who accomplish things,
 and people who claim to have accomplished things.
 The first group is less crowded."
	- Mark Twain

Boost list run by bdawes at, gregod at, cpdaniel at, john at