/[base]
ViewVC logotype

Revision 326782


Jump to revision: Previous Next
Author: asomers
Date: Mon Dec 11 20:47:26 2017 UTC (6 years, 6 months ago)
Changed paths: 5
Log Message:
MFC r304443, r326034, r326065

r304443 by imp:
Improve the pattern matching so that internal *'s work, as well as
[set] notation. This fixes pattern matching for recently added drives
that would set the NCQ Trim being broken incorrectly.

PR: 210686
Tested-by: Tomoaki AOKI

r326034:
Fix multiple bugs in cam_strmatch

* Wrongly matches strings that are shorter than the pattern
* Fails to match negative character sets
* Fails to match character sets that aren't at the end of the pattern
* Fails to match character ranges

Reviewed by:	imp
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D13173

r326065:
Fix uninitialized variable from 326034

Reported by:	Coverity
CID:		1382887
X-MFC-With:	326034
Sponsored by:	Spectra Logic Corp


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/lib/libcam/tests/Makefile modified , text changed
Directorystable/11/lib/libcam/tests/cam_test.c
(Copied from head/lib/libcam/tests/cam_test.c, r326034)
added
Directorystable/11/lib/libcam/tests/libcam_test.c modified , text changed
Directorystable/11/sys/cam/cam.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27