Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-08-10 02:19:23


Bugs item #1537844, was opened at 2006-08-10 16:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1537844&group_id=7586

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: John (drjohnfoster)
Assigned to: Nobody/Anonymous (nobody)
Summary: format zero length string msvc-8

Initial Comment:
Since Microsoft have deprecated most of the standard
library, their debug libraries also check for unsafe
pointers. The following code gives an assertion:

(boost::format("%s") % "").str();

In debug mode, basic_string<char>::append(0, 0)
called from mk_str in feed_args.hpp is tested by the
macro _DEBUG_POINTER, and decides the pointer is
invalid even though the count is 0.

I imagine this toxic behaviour is repeated in a
number of places. It would be nice if the boost
library could work around this problem at a low level.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1537844&group_id=7586

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk