Commit 9d594906 authored by Committed by Jon A. Cruz
Corrected pointer arithmetic on void* variables.
Octet arrays were represented by void* and char* typed variables in several areas of the CA layer. Use uint8_t* where appropriate to address undefined pointer arithemetic on pointers to void. Code that treated the octet arrays as strings (e.g. performed strcpy() on them) was corrected as well. This addresses several major issues flagged by SonarQube. Change-Id: I8d5c57eafa0b0e394e0ee202df1bb7b67c7a59b1 Signed-off-by: Ossama Othman <email@example.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/2034Tested-by: jenkins-iotivity <firstname.lastname@example.org> Reviewed-by: Jon A. Cruz <email@example.com>
Showing with 475 additions and 332 deletions