This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libstdc++ PATCH] money_get::do_get subscripts empty string


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.

Ok to commit?

Doug

Attachment: do_get_zeroes.ChangeLog
Description: Binary data

Attachment: do_get_zeroes.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]