[mythtv-commits] Ticket #13264: Crash (abort) in MythSocket::ResetReal
MythTV
noreply at mythtv.org
Wed May 9 01:47:42 UTC 2018
#13264: Crash (abort) in MythSocket::ResetReal
--------------------------------+------------------------------------------
Reporter: Gary Buhrmaster | Owner: David Hampton <mythtv@…>
Type: Bug Report - Crash | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: gcc8 | Ticket locked: 0
--------------------------------+------------------------------------------
Changes (by David Hampton <mythtv@…>):
* owner: (none) => David Hampton <mythtv@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"1f78097f0cef0ca15e1b7eee4e94fd17ca3b07b7/mythtv"
1f78097f0/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="1f78097f0cef0ca15e1b7eee4e94fd17ca3b07b7"
Fix crash (abort) in MythSocket::ResetReal
In libmythbase mythsocket.cpp MythSocket::ResetReal there can be cases
where there are no bytes to available to read, so the vector is never
resized to greater than zero, which results in an abort when
referencing the 1st (non-existant) element which is now checked by
gcc8 (libstdc++).
Patch from Gary Buhrmaster, fixes #13264.
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13264#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list