Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > changing stream...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 9799 of 9983
Post > Topic >>

changing streambuf to address a security hole

by JSprenkle <JSprenkle@[EMAIL PROTECTED] > Jul 17, 2008 at 09:26 PM

Good afternoon,

I'd like to address a security hole in my application. Through a
number of techniques it's possible to obtain a RAM dump of a running
application. I'm using stringstream's to do type conversions. To
minimize the amount of information left lying around in RAM I'd like
to clear the streambuf used by these routines before it's delete'd.

Is anyone willing to provide a little help? (I'd like to do a version
for MSVC and GCC)

My research has so far left me very unhappy and frustrated. I have
what should be a simple
requirement and it's been extremely difficult to implement. The 'big
brains' claim streams
code is one of the finest examples of c++. The claim for c++ and
object orientation are that
inheritance allows us to change behaviours of base cl*****. Except
with c++ you can't use
inheritance with streams (or STL). Seems like somebody missed some
fundamentals
along the way.

-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 6 Posts in Topic:
changing streambuf to address a security hole
JSprenkle <JSprenkle@[  2008-07-17 21:26:04 
Re: changing streambuf to address a security hole
Oncaphillis <oncaphill  2008-07-18 04:28:12 
Re: changing streambuf to address a security hole
Ulrich Eckhardt <dooms  2008-07-18 04:28:18 
Re: changing streambuf to address a security hole
Alberto Ganesh Barbati &l  2008-07-18 12:52:11 
Re: changing streambuf to address a security hole
JSprenkle <JSprenkle@[  2008-07-18 12:59:52 
Re: changing streambuf to address a security hole
JSprenkle <JSprenkle@[  2008-07-18 12:58:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 15:42:23 CDT 2008.