Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-11-24 02:37:16

Bugs item #1365338, was opened at 2005-11-23 23:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: format_paragraph in options_description.cpp

Initial Comment:
function format_paragraph
in options_description.cpp triggered assertion
_SCL_SECURE_VALIDATE_RANGE failure in microsoft vc8.

at line #379, it looks for a space backword to
avoid chopping a word in the middle. the expression
line_begin - 1 causes assertion failure
if line_begin is at the beginning of the description

here is suggested fix

@@ -378,3 +378,3 @@
- 1),
reverse_iterator<string::const_iterator>(line_begin - 1),
                                  ' ')
@@ -382,3 +382,3 @@

- if (last_space != line_begin - 1)
+ if (last_space != line_begin)


You can respond by visiting:

This email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
Boost-bugs mailing list

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