ports/52941: security/poc card-terminal problems

Rob rob at debank.tv
Wed Jun 4 15:30:19 UTC 2003


>Number:         52941
>Category:       ports
>Synopsis:       security/poc card-terminal problems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 04 08:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rob Evers <rob at debanktv>
>Release:        FreeBSD 4.8-STABLE i386 and FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD haha.debank.tv 4.8-STABLE FreeBSD 4.8-STABLE #1: Tue May 13 13:06:55 CEST 2003 rob at x-server.debank.tv:/usr/obj/usr/src/sys/HAHA i386


	
>Description:
When accessing my card-terminal (towitoko chipdrive micro serial),
I get one clean run after that the device 'hangs' and only 
unplugging it from the port and reconnecting it gives me another clean run.
Below is the debug output of poc ( two runs first is clean second bad )

%poc -f
DEBUG: card_init_terminal(ctn [0], com_port [0])
DEBUG: card_reset_terminal(ctn [0])
DEBUG: card_request_icc(ctn [0])
Size of card in byte: 255

WARNING: Really format card? (y/N) y
DEBUG: card_select_file(ctn [0])
DEBUG: card_read_data(ctn [0], offset [0], n_bytes [255], source_buff)
DEBUG: card_read_data(...)
                writing: 255 (bytes), 0 (offset)
DEBUG: card_close_terminal(ctn [0])
Card formated successfully.

%poc -f
DEBUG: card_init_terminal(ctn [0], com_port [0])
DEBUG: card_close_terminal(ctn [0])
poc:main.c:504: didn't format card
%poc -f
DEBUG: card_init_terminal(ctn [0], com_port [0])
DEBUG: card_close_terminal(ctn [0])
poc:main.c:504: didn't format card


I use a standard 16550A serial controller

>How-To-Repeat:
Use poc with FreeBSD and a serial towitoko chipdrive micro

>Fix:
None 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list