Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
bluez.5742
hcidump-fixed-hci-frame-dump-stack-buffer-overf...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hcidump-fixed-hci-frame-dump-stack-buffer-overflow.patch of Package bluez.5742
From 01146fff6e66742b5e256cf7cbae3e0d7f30c530 Mon Sep 17 00:00:00 2001 From: "Cho, Yu-Chen" <acho@suse.com> Date: Wed, 31 Oct 2018 16:15:07 +0800 Subject: [PATCH] hcidump:fixed hci frame dump stack-buffer-overflow hci_dump() didn't check the length of frame, and it would be a stack-buffer-overflow error. --- tools/parser/hci.c | 3 +++ 1 file changed, 3 insertions(+) Index: bluez-5.13/tools/parser/hci.c =================================================================== --- bluez-5.13.orig/tools/parser/hci.c +++ bluez-5.13/tools/parser/hci.c @@ -4094,6 +4094,9 @@ void hci_dump(int level, struct frame *f frm->ptr++; frm->len--; + if (frm->len == 0) + return; + switch (type) { case HCI_COMMAND_PKT: command_dump(level, frm);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor