Index | Thread | Search

From:
jslee <openbsd.lists@internetemails.net>
Subject:
Re: USB vendor/product sanitization
To:
"Greg Steuck" <gnezdo@openbsd.org>
Cc:
tech@openbsd.org
Date:
Mon, 17 Aug 2026 11:37:33 +1000

Download raw body.

Thread
On Sat, 15 Aug 2026, at 17:18, Greg Steuck wrote:
> I noticed this oddity in my dmesg:
> umass0 at uhub5 port 4 configuration 1 interface 0 "Obreey
>  Verse
> " rev 2.00/1.01 addr 9
> umass0: using SCSI over Bulk-Only
>
> Apparently the vendor stuck a trailing \n into both product and vendor
> fields. We could trim them though I wonder if it's worth the trouble
> (Linux dmesg similarly gets some empty lines). If it is then do we care
> to do more than the bare minimum?

These "bonus" newlines (and potentially other gunk) would break an awk gadget I made to turn dmesg into graphviz, so from a selfish point of view: yes please!

John