[SSSD] [PATCH 4/7] responder: Use SAFEALIGN macros where appropriate.

Michal Židek mzidek at redhat.com
Fri Nov 15 16:28:06 UTC 2013


On 11/14/2013 01:14 PM, Lukas Slebodnik wrote:>>From
 >> >-    ((uint32_t *)body)[0] = num-skipped; /* num results */
 >> >-    ((uint32_t *)body)[1] = 0; /* reserved */
 >> >+    SAFEALIGN_SETMEM_UINT32(body, num - skipped, NULL); /* num 
results */
 >> >+    SAFEALIGN_SETMEM_UINT32(body + sizeof(uint32_t), 0, NULL); /* 
reserved */
 > Here is an conflict due to patch "NSS: Set packet length for initgroups"

Resolved.

 >
 >> >
 >> >     return EOK;
 >> >}

New patch is attached.

Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-responder-Use-SAFEALIGN-macros-where-appropriate.patch
Type: text/x-patch
Size: 11504 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20131115/31aa3b2a/attachment.bin>


More information about the sssd-devel mailing list