Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2003 16:49:19 +0200 (CEST)
From:      Rob <rob@debank.tv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52941: security/poc card-terminal problems
Message-ID:  <200306041449.h54EnJYr051985@haha.debank.tv>
Resent-Message-ID: <200306041530.h54FUGve005145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306041449.h54EnJYr051985>