/[base]
ViewVC logotype

Revision 357877


Jump to revision: Previous Next
Author: asomers
Date: Thu Feb 13 20:40:36 2020 UTC (4 years, 4 months ago)
Changed paths: 2
Log Message:
MFC r355430:

ses: sanitize illegal strings in SES element descriptors

The SES4r3 standard requires that element descriptors may only contain ASCII
characters in the range 0x20 to 0x7e.  Some SuperMicro expanders violate
that rule.  This patch adds a sanity check to ses(4).  Descriptors in
violation will be replaced by "<invalid>".

This patch fixes "sesutil --libxo xml" on such systems.  Previously it would
generate non-well-formed XML output.

PR:		241929
Reviewed by:	allanjude
Sponsored by:	Axcient


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/sys/cam/scsi/scsi_enc_ses.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27