Wireshark-commits: [Wireshark-commits] rev 33841: /trunk/gtk/ /trunk/gtk/: main.c

Date: Wed, 18 Aug 2010 19:11:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33841

User: morriss
Date: 2010/08/18 12:11 PM

Log:
 main_cf_cb_file_read_finished(): use get_dirname() to get the directory of the
 current file name.
 
 This fixes a crash after failing to allocate some massive number of bytes if
 the file name did not contain a path--which is the case when doing
 "wireshark -r myfile.pcap".

Directory: /trunk/gtk/
  Changes    Path          Action
  +2 -4      main.c        Modified