From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 4 08:30:19 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED1D437B405 for ; Wed, 4 Jun 2003 08:30:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C1D443FAF for ; Wed, 4 Jun 2003 08:30:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h54FUGUp005146 for ; Wed, 4 Jun 2003 08:30:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h54FUGve005145; Wed, 4 Jun 2003 08:30:16 -0700 (PDT) Resent-Date: Wed, 4 Jun 2003 08:30:16 -0700 (PDT) Resent-Message-Id: <200306041530.h54FUGve005145@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rob Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF4E37B401 for ; Wed, 4 Jun 2003 08:27:09 -0700 (PDT) Received: from haha.debank.tv (c92069.upc-c.chello.nl [212.187.92.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 298A943FBD for ; Wed, 4 Jun 2003 08:27:08 -0700 (PDT) (envelope-from rob@debank.tv) Received: from haha.debank.tv (localhost [127.0.0.1]) by haha.debank.tv (8.12.9/8.12.9) with ESMTP id h54EnJTC051986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 4 Jun 2003 16:49:20 +0200 (CEST) (envelope-from rob@debank.tv) Received: (from rob@localhost) by haha.debank.tv (8.12.9/8.12.9/Submit) id h54EnJYr051985; Wed, 4 Jun 2003 16:49:19 +0200 (CEST) (envelope-from rob) Message-Id: <200306041449.h54EnJYr051985@haha.debank.tv> Date: Wed, 4 Jun 2003 16:49:19 +0200 (CEST) From: Rob To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52941: security/poc card-terminal problems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rob List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 15:30:19 -0000 >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 >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: