Update SAL annotation to express that the rbuffer argument:
Might be NULL.
Is of size rlen where only the first *completedBytes bytes are written to.
Fixes the following Visual Studio Code Analysis warning:
UDEFX2\Misc.c(177): warning C6101: Returning uninitialized memory '*rbuffer'. A successful path through the function does not set the named _Out_ parameter.
Fixes #41.
Update SAL annotation to express that the
rbuffer
argument:rlen
where only the first*completedBytes
bytes are written to.Fixes the following Visual Studio Code Analysis warning:
UDEFX2\Misc.c(177): warning C6101: Returning uninitialized memory '*rbuffer'. A successful path through the function does not set the named _Out_ parameter.
Documentation: Annotating function parameters and return values