[mythtv-commits] Ticket #5504: Passing a null pointer to write() is a bad idea any time (in libmythdb)
MythTV
mythtv at cvs.mythtv.org
Fri Aug 21 03:53:29 UTC 2009
#5504: Passing a null pointer to write() is a bad idea any time (in libmythdb)
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: closed
Priority: trivial | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution: fixed
Mlocked: 0 |
---------------------------------------------+------------------------------
Changes (by cpinkham):
* status: new => closed
* resolution: => fixed
Comment:
(In [21388]) Do a little bit more sanity checking on the input to
MSocketDevice::writeData()
and MSocketDevice::writeBlock() to guarantee we don't try to pass a null
pointer when writing data to the socket.
Closes #5504 using unix patch by Erik Hovland, copied to _win.cpp by
myself.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5504#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list