Go to the FreeLists Home Page Home Signup Help Login
 



Browse shell-coding: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

[shell-coding] Bad Pointer errors all over the place

  • From: "Daij-Djan" <Daij-Djan@xxxxxxxxxxxxxxx>
  • To: <shell-coding@xxxxxxxxxxxxx>
  • Date: Thu, 24 Oct 2002 14:23:06 +0200
Geoshell 6 is 'leaking' memory and GDI resources. To find out why/how
and when, I got a trial of Boundschecker 7. Unfortunately, the results
have only further confused me.
No memory is leaked and no GDI resources are lost!? 
The only errors Boundschecker finds concern freeing strings.
We use CComBSTR  and CComVariant and whenever a BSTR is freed
Boundschecker reports a:

Bad Pointer: 0x3A6AE8C passed to SysFreeString. In CComBSTR::Empty() or
in CComVariant::Clear()

The error occurs x thousand times, depending on how long you run the
program. It happens in any function and at any time.
The BSTR is a valid 0 terminated string... I don't have any idea of what
the stupid program thinks we're doing wrong. :)



__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts:

  • [shell-coding] Bad Pointer errors all over the place
  • [shell-coding] Re: Bad Pointer errors all over the place
  • [shell-coding] Re: Bad Pointer errors all over the place
  • [shell-coding] Re: Bad Pointer errors all over the place
  • [shell-coding] Re: Bad Pointer errors all over the place
  • [shell-coding] Re: Bad Pointer errors all over the place




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.