Just to get some clarity on this ...

Yesterday I proposed fixes for a few buffer size problems reported by
static analysis (valgrind).

In commenting, George Nash noted that in some cases I had added
oic_string.h in order to use OICStrcpy, but that oic_string.h is not
part of the public API.

So just the three questions this time:
1. is that intentional? oic_string.h definitely not part of the API?
2. it is true that samples should only use public APIs? (I found
multiple instances that do use oic_string.h, did not check for anything
else)
3. if (2) is true, do we need an "api checker" to run on the samples to
make sure they're clean?
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to