Opened 16 years ago
Closed 16 years ago
Last modified 15 years ago
#8439 closed patch (fixed)
Invalid read of size 1 in GetNvidiaRates
| Reported by: | Owned by: | JYA | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.24 |
| Component: | MythTV - General | Version: | 0.23-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description (last modified by )
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==
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
yuck. sorry about that formatting... trying again:
==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==
comment:2 by , 16 years ago
| Description: | modified (diff) |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
| Type: | defect → patch |
| Version: | Unspecified → 0.23-fixes |
comment:3 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 by , 15 years ago
| Milestone: | unknown → 0.24 |
|---|
Note:
See TracTickets
for help on using tickets.

possible fix