URL: https://github.com/SSSD/sssd/pull/740
Title: #740: sbus: avoid using invalid stack point in SBUS_INTERFACE

alexey-tikhonov commented:
"""
> *) there is an error in implementations of 
> `sbus_method_copy/sbus_signal_copy/sbus_property_copy`:
> ```
> memcpy(copy, input, sizeof(struct sbus_property) * count + 1);
> ```
> should be
> ```
> memcpy(copy, input, sizeof(struct sbus_property) * (count + 1));
> ```

PR: https://github.com/SSSD/sssd/pull/741


"""

See the full comment at 
https://github.com/SSSD/sssd/pull/740#issuecomment-460355454
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to