
10 Feb
2008
10 Feb
'08
2:37 p.m.
In libs/date_time/src/gregorian/greg_month.cpp we have: short i = date_time::find_match(special_value_names, special_value_names, date_time::NumSpecialValues, s); 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 Jon -- "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