IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This commit fixes the following error:
```
2020-06-30 00:18:25:add_hkcu_entry: S-1-5-21-1609667327-4120075585-2415302043-1109 Software\BaseALT\Policies\GPUpdate 0 4
Traceback (most recent call last):
File "/usr/sbin/gpoa", line 145, in <module>
main()
File "/usr/sbin/gpoa", line 140, in main
controller.run()
File "/usr/sbin/gpoa", line 97, in run
self.start_backend()
File "/usr/sbin/gpoa", line 115, in start_backend
back.retrieve_and_store()
File "/usr/lib/python3/site-packages/gpoa/backend/samba_backend.py", line 71, in retrieve_and_store
gptobj.merge()
File "/usr/lib/python3/site-packages/gpoa/gpt/gpt.py", line 219, in merge
preference_merger(self.storage, self.sid, preference_objects, self.name)
File "/usr/lib/python3/site-packages/gpoa/gpt/polfile.py", line 31, in merge_polfile
storage.add_hkcu_entry(entry, sid, policy_name)
File "/usr/lib/python3/site-packages/gpoa/storage/sqlite_registry.py", line 242, in add_hkcu_entry
valname = preg_entry.valuename
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 0: invalid continuation byte
```
This is the critical bug related to ownership problem in objects
managed by LIBTALLOC which leads to object destruction and freeing the
memory used by the object (and also corruption of this memory).
It is needed to transfer memory ownership from TALLOC to Python ASAP so
we're creating Python-managed object and copy the data into it.