opnsense-src/sys/dev/aic7xxx
Conrad Meyer 295e4149b0 aic7xxx(4): Fix unintended sign extension in ahd_inq()
ahd_inb() returns type uint8_t.  The shift left by untyped 24 implicitly
promotes the result to type (signed) int.  Then the binary OR with uint64_t
values sign-extends the integer.  If bit 31 of the read value happened to be
set, the 64-bit result would have all upper 32 bits set to 1 due to OR.  This
is clearly not intended.

Reported by:	Coverity
CID:		980473 (old one!)
2020-01-30 18:12:24 +00:00
..
aicasm sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ahc_isa.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ahc_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
ahd_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
aic7xxx.c Fix trivial whitespace issue that is tripping -Wmisleading-indentation 2019-12-24 22:27:06 +00:00
aic7xxx.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic7xxx.reg aic7xxx: minor spelling fixes. 2016-05-10 16:40:19 +00:00
aic7xxx.seq Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
aic7xxx_93cx6.c
aic7xxx_93cx6.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic7xxx_inline.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic7xxx_osm.c Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
aic7xxx_osm.h Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
aic7xxx_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic7xxx_reg.h Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic7xxx_reg_print.c Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic7xxx_seq.h Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic79xx.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic79xx.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic79xx.reg aic7xxx: minor spelling fixes. 2016-05-10 16:40:19 +00:00
aic79xx.seq aic7xxx: minor spelling fixes. 2016-05-10 16:40:19 +00:00
aic79xx_inline.h aic7xxx(4): Fix unintended sign extension in ahd_inq() 2020-01-30 18:12:24 +00:00
aic79xx_osm.c Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
aic79xx_osm.h Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
aic79xx_pci.c [aic7xxx] Use correct product name 29320LPE instead of non-existent 39320LPE 2019-01-19 05:31:48 +00:00
aic79xx_reg.h Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic79xx_reg_print.c Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic79xx_seq.h Remove aicasm as a build dependency. It made sense when the ahc and ahd 2014-01-07 19:33:17 +00:00
aic7770.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
aic_osm_lib.c Remove variables which are initialized but never used thereafter 2012-08-05 08:08:34 +00:00
aic_osm_lib.h Use callout_func_t instead of the deprecated timeout_t. 2019-12-10 22:06:53 +00:00