Skip to content
Snippets Groups Projects
  1. Mar 14, 2018
    • Vignesh Viswanathan's avatar
      qcacld-2.0: Fix buffer overrun in function ProcSetReqInternal · 29e6ab08
      Vignesh Viswanathan authored
      In function ProcSetReqInternal, valueLen is obtained from the
      message buffer pParam. This valueLen is used as argument to the
      function GetStrValue where the contents of the buffer pParam is
      copied to pMac->cfg.gSBuffer for valueLen number of bytes. However
      the array pMac->cfg.gSBuffer is a static array of size CFG_MAX_STR_LEN.
      If the value of valueLen exceeds CFG_MAX_STR_LEN, a buffer overwrite
      will occur in GetStrValue.
      
      Add Sanity check to make sure valueLen does not exceed CFG_MAX_STR_LEN.
      
      Bug: 72957177
      CRs-Fixed: 2143847
      29e6ab08
    • Tiger Yu's avatar
      qcacld-2.0: Fix potential buffer overflow in htt_t2h_lp_msg_handler · c32e9362
      Tiger Yu authored
      Check for the validity of peer_id when received the htt message of
      HTT_T2H_MSG_TYPE_PEER_MAP or HTT_T2H_MSG_TYPE_PEER_UNMAP from firmware
      to ensure the buffer overflow does not happen.
      
      Bug: 72956997
      CRs-Fixed: 2147119
      c32e9362
    • Tiger Yu's avatar
      qcacld-2.0: Fix potential buffer overflow in ol_rx_flush_handler · eccdffc2
      Tiger Yu authored
      Check for the validity of tid when received the htt message of
      HTT_T2H_MSG_TYPE_RX_FLUSH & HTT_T2H_MSG_TYPE_RX_PN_IND from firmware
      to ensure the buffer overflow does not happen.
      
      And correct the sequence number type from signed int to unsigned.
      
      Bug: 72957235
      CRs-Fixed: 2149399
      eccdffc2
    • Poddar, Siddarth's avatar
      qcacld-2.0: Fix potential buffer overflow in process_tx_info · 4fea5f5a
      Poddar, Siddarth authored
      Check for buffer overflow for pktlog messages in process_tx_info
      function before doing mem copy.
      
      Bug: 72957136
      CRs-Fixed: 2154331
      4fea5f5a
  2. Jan 17, 2018
  3. Jan 16, 2018
  4. Jan 12, 2018
Loading