Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-cm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-cm
  • Repository
Switch branch/tag
  • linux-cm
  • drivers
  • net
  • wireless
  • ath
  • ath5k
  • base.c
Find file BlameHistoryPermalink
  • John W. Linville's avatar
    ath5k: check return value of ieee80211_get_tx_rate · d8e1ba76
    John W. Linville authored Aug 24, 2010
    This avoids a NULL pointer dereference as reported here:
    
    	https://bugzilla.redhat.com/show_bug.cgi?id=625889
    
    
    
    When the WARN condition is hit in ieee80211_get_tx_rate, it will return
    NULL.  So, we need to check the return value and avoid dereferencing it
    in that case.
    
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    Cc: stable@kernel.org
    Acked-by: default avatarBob Copeland <me@bobcopeland.com>
    d8e1ba76