This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/28759] stringbuf writes beyond external buffer given via pubsetbuf()



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-08-17 01:11 -------
The other thing is that  sizeof(buf) will get you sizeof(char*) which is most
likely not what you wantted anyways.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28759


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