DescriptionAs well refactor a couple of places and fix bugs in the affected code
- undeprecate `ATL::CComBSTR`. It's extensively used and only pollutes the compiler output, so we can miss some important warning.
- fix bug in `src/plugin/AdblockPlusClient.cpp`. The size of `tml` (`TOKEN_MANDATORY_LABEL tml = {};`) does not include the length of SID, only the size of structure is expected.
- remove dead code `BOOL CreateLowProcess(WCHAR* wszProcessName, WCHAR* cmdLine)`
- [src/plugin/PluginDomTraverserBase.h] refactor `T* m_cacheElements;` to `std::vector<T> m_cacheElements`
- [src/plugin/PluginDomTraverserBase.h] fix calls where `BSTR` is expected but `wchar_t*` was used
- [src/plugin/PluginDomTraverserBase.h] use scoped lock instead of pairs of `m_criticalSection.Lock();` `m_criticalSection.Unlock();`
- [src/plugin/PluginDomTraverserBase.h] add the check for the value of "abp" attribute. The user of some script could put any arbitrary value there which could cause some security vulnerabilities.
- [src/plugin/PluginDomTraverserBase.h] remove `CPluginDomTraverserBase<T>::ShowNotification(CPluginTab* tab)` because the body was pointless.
Patch Set 1 #
Total comments: 32
MessagesTotal messages: 10
|