Bug 5405

Summary: Printing null char* prints ptrace error message.
Product: frysk Reporter: Teresa Thomas <tthomas>
Component: generalAssignee: Teresa Thomas <tthomas>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246    

Description Teresa Thomas 2007-11-26 22:57:47 UTC
(fhpd) print argv[1]
[0.0]
(char *) 0x0 "Error: ptrace: Input/output error (op 0x2 (PTRACE_PEEKDATA), pid
11165, addr 0x0, data 0x0)


Should simple print null.
Comment 1 Teresa Thomas 2007-11-26 23:13:04 UTC
    Fixes bug #5405.
    
    2007-11-26  Teresa Thomas  <tthomas@redhat.com>
    
    	* PointerType.java (toPrint): Return on null ptr.