Ethereal-cvs: [Ethereal-cvs] rev 15927: /trunk/epan/dissectors/: packet-x11.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 21 Sep 2005 10:29:23 GMT
User: ulfl
Date: 2005/09/21 05:29 AM

Log:
 fix #372: the bug raised a "division by zero" exception. I've add a check for this and simply replaced the expression with 0 in that case. Don't know if it's correct to do so, but fixes the exception at least :-)

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +3 -1      packet-x11.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15927&view=rev