The Samba-Bugzilla – Attachment 15641 Details for
Bug 14206
dnsProperty round-trip memory handling error in fuzzer (only)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
an initial patch, mitigate this at the IDL level
diff (text/plain), 588 bytes, created by
Andrew Bartlett
on 2019-11-29 04:36:56 UTC
(
hide
)
Description:
an initial patch, mitigate this at the IDL level
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2019-11-29 04:36:56 UTC
Size:
588 bytes
patch
obsolete
>diff --git a/librpc/idl/dnsp.idl b/librpc/idl/dnsp.idl >index 1bbcaca6bfa..47a51d540cc 100644 >--- a/librpc/idl/dnsp.idl >+++ b/librpc/idl/dnsp.idl >@@ -256,8 +256,8 @@ interface dnsp > uint32 namelength; > [value(0)] uint32 flag; > [value(1)] uint32 version; >- dns_property_id id; >- [switch_is(wDataLength?id:DSPROPERTY_ZONE_EMPTY)] dnsPropertyData data; >+ [range(DSPROPERTY_ZONE_EMPTY, (r->wDataLength > 0 ? DSPROPERTY_ZONE_NODE_DBFLAGS : 0))] dns_property_id id; >+ [switch_is(id)] dnsPropertyData data; > uint32 name; > } dnsp_DnsProperty; > }
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 14206
:
15641
|
15657
|
15658
|
15671