[mythtv-commits] mythtv commit: r15668 by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jan 29 18:04:38 UTC 2008


      Author: paulh
        Date: 2008-01-29 18:04:37 +0000 (Tue, 29 Jan 2008)
New Revision: 15668
   Changeset: http://cvs.mythtv.org/trac/changeset/15668

Modified:

   trunk/mythplugins/mythzoneminder/mythzmserver/zmserver.cpp

Log:

Fix a segfault in mythzmserver reported to me by Michael.

This just sanity checks the last_read value to make sure it is within bounds.
Apparently sometimes ZM can send a last_read equal to the image_buffer_count
to signal that there's no images or some similar. I've never seen this after
running ZM and mythzmserver for many months but the check doesn't hurt
anything 






More information about the mythtv-commits mailing list