Skip to content

Return NULL when reading non existing APR objects

Marcin Nowak requested to merge mnowak/athena:APR.readObject.OOB into master

Simple fix to return NULL when trying to read an object that does not exist (OID2 is bigger than the container size).
At the same time, the return code is not set to Error, because that would produce ERROR printouts when somebody may be just iterating over all objects in the container.

Merge request reports