The following commit has been merged in the master branch:
commit 6c7c9f781b3ef3fe084ec7e5eb170a7ce977f3f1
Author: Michael Meffie <[email protected]>
Date:   Wed Jun 8 09:03:32 2022 -0400

    bozo: Return BZDOM when BOZO_EnumerateInstance index is negative
    
    The BOZO_EnumerateInstance looks up a bnode instance with a zero-based
    index (anum) and returns BZDOM when the index is out of range for the
    current list of bosserver bnode instances.
    
    The index is defined as a signed integer by the RPC, but the implementation
    does not check for a negative index.  Currently, the implementation
    returns an empty string when a negative (out of range) index is given.
    
    Instead, return a BZDOM error to indicate the index is out of range.
    
    Commit ea276e83e37e5bd27285a3d639f2158639172786 (OPENAFS-SA-2019-001:
    Skip server OUT args on error) is a prerequisite for this change.
    
    Change-Id: I4df5d35aaccdbfcbe8e8dcc4fa1aa45ee06b06ab
    Reviewed-on: https://gerrit.openafs.org/15031
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/bozo/bosoprocs.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to