[mythtv-commits] Ticket #8439: Invalid read of size 1 in GetNvidiaRates

MythTV mythtv at cvs.mythtv.org
Mon May 10 20:46:48 UTC 2010


#8439: Invalid read of size 1 in GetNvidiaRates
------------------------------+---------------------------------------------
 Reporter:  dougt@…           |       Owner:  jyavenard 
     Type:  patch             |      Status:  assigned  
 Priority:  minor             |   Milestone:  unknown   
Component:  MythTV - General  |     Version:  0.23-fixes
 Severity:  medium            |     Mlocked:  0         
------------------------------+---------------------------------------------
Changes (by mdean):

  * owner:  ijr => jyavenard
  * status:  new => assigned
  * version:  Unspecified => 0.23-fixes
  * type:  defect => patch


Old description:

> Valgrind reports:
>
> ==32267== Invalid read of size 1
> ==32267==    at 0x588FC48: GetNvidiaRates(std::map<unsigned int, double,
> std::less<unsigned int>, std::allocator<std::pair<unsigned int const,
> double> > >&) (util-nvctrl.cpp:162)
> ==32267==    by 0x5889978: DisplayResX::GetVideoModes() const
> (DisplayResX.cpp:129)
> ==32267==    by 0x8F1BBD5: (below main) (libc-start.c:226)
> ==32267==  Address 0xed69bbf is 0 bytes after a block of size 3,527
> alloc'd
> ==32267==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
> ==32267==    by 0x589DAD1: XNVCTRLQueryTargetBinaryData (NVCtrl.c:708)
> ==32267==    by 0x8F1BBD5: (below main) (libc-start.c:226)
> ==32267==

New description:

 Valgrind reports:
 {{{
 ==32267== Invalid read of size 1
 ==32267==    at 0x588FC48: GetNvidiaRates(std::map<unsigned int, double,
 std::less<unsigned int>, std::allocator<std::pair<unsigned int const,
 double> > >&) (util-nvctrl.cpp:162)
 ==32267==    by 0x5889978: DisplayResX::GetVideoModes() const
 (DisplayResX.cpp:129)
 ==32267==    by 0x8F1BBD5: (below main) (libc-start.c:226)
 ==32267==  Address 0xed69bbf is 0 bytes after a block of size 3,527
 alloc'd
 ==32267==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
 ==32267==    by 0x589DAD1: XNVCTRLQueryTargetBinaryData (NVCtrl.c:708)
 ==32267==    by 0x8F1BBD5: (below main) (libc-start.c:226)
 ==32267==
 }}}

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8439#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list