The Samba-Bugzilla – Attachment 16589 Details for
Bug 14687
GPO restore fails if an empty REG_MULTI_SZ is encountered in registry.pol.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
file_14687.txt (text/plain), 648 bytes, created by
Kacper
on 2021-04-14 18:31:35 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Kacper
Created:
2021-04-14 18:31:35 UTC
Size:
648 bytes
patch
obsolete
>diff -Naur a/python/samba/gp_parse/gp_pol.py b/python/samba/gp_parse/gp_pol.py >--- a/python/samba/gp_parse/gp_pol.py 2021-04-14 13:46:15.502560949 +0000 >+++ b/python/samba/gp_parse/gp_pol.py 2021-04-14 13:45:50.312562722 +0000 >@@ -83,7 +83,7 @@ > # entry.size = int(e.attrib['size']) > > if misc.REG_MULTI_SZ == entry_type: >- values = [x.text for x in e.findall('Value')] >+ values = [x.text for x in e.findall('Value') if x.text] > entry.data = (u'\x00'.join(values) + u'\x00\x00').encode('utf-16le') > elif (misc.REG_NONE == entry_type): > pass
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14687
:
16589
|
16598
|
16601