repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251eb3e
)
cec: fixed possible crash when trying to request a vendor id of a device when the...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 11 Apr 2012 14:29:15 +0000
(16:29 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 11 Apr 2012 15:46:29 +0000
(17:46 +0200)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index ab1d710f9b4f0f7542dc633a036a1bd90883e9a0..5b9d421bd25c2dea260092887eb04c624d405658 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-372,7
+372,7
@@
bool CCECBusDevice::RequestVendorId(void)
{
bool bReturn(false);
- if (!MyLogicalAddressContains(m_iLogicalAddress))
+ if (!MyLogicalAddressContains(m_iLogicalAddress)
&& GetMyLogicalAddress() != CECDEVICE_UNKNOWN
)
{
MarkBusy();
CLibCEC::AddLog(CEC_LOG_NOTICE, "<< requesting vendor ID of '%s' (%X)", GetLogicalAddressName(), m_iLogicalAddress);