[mythtv-commits] Ticket #11187: Fix the check for a failed call to mmap

MythTV noreply at mythtv.org
Wed Mar 20 15:07:54 UTC 2013


#11187: Fix the check for a failed call to mmap
-----------------------------+---------------------------------------------
 Reporter:  mythtv@…         |          Owner:  Paul Harrison <pharrison@…>
     Type:  Patch - Bug Fix  |         Status:  closed
 Priority:  minor            |      Milestone:
Component:  Plugin -         |        Version:  0.26-fixes
  MythZoneminder             |     Resolution:  fixed
 Severity:  low              |  Ticket locked:  0
 Keywords:                   |
-----------------------------+---------------------------------------------
Changes (by Paul Harrison <pharrison@…>):

 * owner:   => Paul Harrison <pharrison@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:d2127813712612699a490a50476166ce062f166e/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="d2127813712612699a490a50476166ce062f166e"
 mythzmserver: Add a proper check for a failed call to mmap()

 Should be checking for MAP_FAILED not NULL. Also add some additional
 debugging
 showing why we failed to open the mmap file. Fixes #11187.

 (cherry picked from commit 52b277397431dd88a337e46a7d64fea89c8037c0)

 Signed-off-by: Paul Harrison <pharrison at mythtv.org>
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11187#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list