Bug 5405 - Printing null char* prints ptrace error message.
Summary: Printing null char* prints ptrace error message.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Teresa Thomas
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2007-11-26 22:57 UTC by Teresa Thomas
Modified: 2007-11-26 23:13 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.