Ethereal-cvs: [Ethereal-cvs] rev 16317: /trunk/gtk/: file_dlg.c

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

Date: Wed, 26 Oct 2005 08:32:23 GMT
User: ulfl
Date: 2005/10/26 03:32 AM

Log:
 bugfix: don't crash the file open dialog, if the preview gets confused by "invalid" timestamps.
 
 The localtime call will return NULL on invalid input which results in a NULL pointer exception. Simply print '?' if localtime returned NULL.

Directory: /trunk/gtk/
  Changes    Path          Action
  +12 -8     file_dlg.c    Modified



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