This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++ PATCH] money_get::do_get subscripts empty string
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Doug Gregor <dgregor at apple dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Jun 2003 21:10:54 +0200 (CEST)
- Subject: Re: [libstdc++ PATCH] money_get::do_get subscripts empty string
- References: <29CB9CFE-AB2E-11D7-92E0-00039354D67A@apple.com>
On Mon, 30 Jun 2003, Doug Gregor wrote:
> This patch fixes an unsafe loop in money_get::do_get that invokes
> undefined behavior when __tmp_units is an empty string (this does
> occur, and was tripping up the debug mode test runs). Tested on
> powerpc-apple-darwin6.6; no regressions.
Would you mind using a different MIME type than
Application/OCTET-STREAM
for your attachments? text/plain would be great, for example.
Thanks,
Gerald
PS: I'm keeping the lists Cc:ed becaused I encountered quite a couple of
those OCTET-STREAM attachments here lately.
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/