ACC Release Notes for the B.03.01 Release

33
Advanced Communications Controller Release Notes for the B.03.01 Release
Patches and Fixes for this Version
42. Reference: TPO0h02189
zset_rcvr() allows shared receivers to be
set without limit. But zget_shrcvr_list()
silently imposes a limit of 64 shared
receiver (ZcMAX_SHARED_RCVRS)
that can be retrieved. So a program can
keep setting shared receivers, but
cannot see the whole list.
In general, 64 shared receivers is a large
enough number for most application
needs.
In the LDM, while adding a ZLU to the
list of shared receiver (for normal rcvr,
inbound rcvr, control rcvr, node status
rcvr and DSC rcvr), there is no check to
limit the number of shared receivers.
A simple check is added to make sure the
number of receivers currently defined is
less than 64 (ZcMAX_SHARED_RCVRS)
and, if not, a new error ZERCVRFULL
(-18) is returned.
The man pages of zevent_rcvr and
zset_rcvr are updated to reflect this
change.
43. Reference: TPO0h02192
In zget_shrcvr_list(), the mlen
parameter has no use. Even if it is set as
2 in all cases, the returned ZLU array is
always modified to have all shared
receiver plus one extra terminating
entry, with zlu==0. This will overflow
the caller’s supplied array.
In the LDM, the processing for
zget_shrcvr_list() does not use mlen
properly. It is fixed to use mlen to make
sure the receiver list extracted will not
overflow the user’s ZLU array, and a zero
ZLU entry is always present in the
returned list.
Symptoms Defect / Fix