In commit 651f479 which rewrote the constructor of the LBLEAddress class, the memset() call initializing the m_addr is called with incorrect parameters as memset(&m_addr, sizeof(m_addr), 0); instead of memset(&m_addr, 0, sizeof(m_addr));. This is effectively equal to not initialize the m_addr struct, and has not caused error by luck.
In commit 651f479 which rewrote the constructor of the LBLEAddress class, the
memset()
call initializing them_addr
is called with incorrect parameters asmemset(&m_addr, sizeof(m_addr), 0);
instead ofmemset(&m_addr, 0, sizeof(m_addr));
. This is effectively equal to not initialize them_addr
struct, and has not caused error by luck.