summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-23 09:14:30 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 08:55:36 -0400
commit5ef76cb7c19acd5531806c8a1be4559e0c2d77d1 (patch)
tree9d679b7fc48833f5c0852f110eb47d4467d315bc /tools/perf/scripts/python/syscall-counts.py
parente1b7f11b37def5f3021c06e8c2b4953e099357aa (diff)
downloadkernel-5ef76cb7c19acd5531806c8a1be4559e0c2d77d1.tar.gz
media: siano: be sure to not override devpath size
Right now, at siano driver, all places where devpath is defined has sizeof(devpath) == 32. So, there's no practical risc of going past devpath array anywhere. Still, code changes might cause troubles. It also confuses Coverity: CID 139059 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) 9. fixed_size_dest: You might overrun the 32-character fixed-size string entry->devpath by copying devpath without checking the length. 10. parameter_as_source: Note: This defect has an elevated risk because the source argument is a parameter of the current function. So, explicitly limit strcmp() and strcpy() to ensure that the devpath size (32) will be respected. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
10iwlwifi: remove sw_csum_txEmmanuel Grumbach 2020-12-10iwlwifi: move reclaim flows to the queue fileMordechay Goodstein 2020-10-08iwlwifi: pcie: implement set_pnvm opLuca Coelho 2020-10-01iwlwifi: pcie: make iwl_pcie_txq_update_byte_cnt_tbl bus independentMordechay Goodstein 2020-10-01iwlwifi: move all bus-independent TX functions to common codeMordechay Goodstein 2020-10-01iwl-trans: move dev_cmd_offs, page_offs to a common trans headerMordechay Goodstein 2020-10-01iwlwifi: move bc_table_dword to a common trans headerMordechay Goodstein 2020-10-01iwlwifi: iwl-trans: move tfd to trans layerMordechay Goodstein 2020-10-01iwlwifi: move bc_pool to a common trans headerMordechay Goodstein 2020-05-29iwlwifi: move txq-specific from trans_pcie to common transMordechay Goodstein 2020-05-29iwlwifi: move iwl_txq and substructures to a common trans headerMordechay Goodstein 2020-05-29iwlwifi: pcie: keep trans instead of trans_pcie in iwl_txqMordechay Goodstein 2020-05-08iwlwifi: pcie: skip fragmented receive buffersJohannes Berg 2020-05-08iwlwifi: pcie: gen2: use DMA pool for byte-count tablesJohannes Berg 2020-04-24iwlwifi: pcie: move iwl_pcie_ctxt_info_alloc_dma() to userJohannes Berg 2020-03-27iwlwifi: pcie: make iwl_pcie_cmdq_reclaim staticJohannes Berg 2020-01-27Merge tag 'wireless-drivers-next-2020-01-26' of git://git.kernel.org/pub/scm/...David S. Miller 2019-12-23iwlwifi: pcie: use partial pages if applicableJohannes Berg 2019-12-23iwlwifi: pcie: map only used part of RX buffersJohannes Berg 2019-12-23iwlwifi: allocate more receive buffers for HE devicesJohannes Berg 2019-12-23iwlwifi: pcie: extend hardware workaround to context-infoJohannes Berg 2019-12-23iwlwifi: pcie: allocate smaller dev_cmd for TX headersJohannes Berg 2019-12-20iwlwifi: pcie: move page tracking into get_page_hdr()Johannes Berg