Bug 110919 - vncviewer segfaults with -via parameter
Summary: vncviewer segfaults with -via parameter
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: vnc
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-25 15:47 UTC by Karsten Hopp
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-27 11:41:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2003-11-25 15:47:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4.1)
Gecko/20031030

Description of problem:
vncviewer segfaults when run as 'vncviewer -via gatewaymaschine'.

 Program received signal SIGSEGV, Segmentation fault.
0x006a6f43 in strchr () from /lib/tls/libc.so.6
(gdb) bt
#0  0x006a6f43 in strchr () from /lib/tls/libc.so.6
#1  0xbff29274 in ?? ()
#2  0x08062eba in interpretViaParam (gatewayHost=0xbff27aa0,
    remoteHost=0xbff27aa4, remotePort=0xbff27aa8,
vncServerName=0xbff27aac,
    localPort=5599) at cstring:107
#3  0x0806321d in main (argc=3, argv=0xbff29274) at vncviewer.cxx:273


Version-Release number of selected component (if applicable):
vnc-4.0-0.beta4.6

How reproducible:
Always

Steps to Reproduce:
1. vncviewer -via gatewaymaschine
2. vncviewer segfaults
3.
    

Actual Results:  nothing

Expected Results:  normal vncviewer window asking for the remote
display should come up

Additional info:

vncviewer -via  gatewaymaschine localhost:0   works as expected, but
it should ask for the remote DISPLAY when not supplied on the commandline.

Comment 1 Tim Waugh 2003-11-27 18:16:57 UTC
Fixed in CVS.


Note You need to log in before you can comment on or make changes to this bug.