Skip to content
Commit 28204d12 authored by ANANDU KRISHNAN E's avatar ANANDU KRISHNAN E Committed by Anandu Krishnan E
Browse files

msm: adsprpc: Avoid taking reference for group_info



Currently, the get_current_groups API accesses group info, which
increases the usage refcount. If the IOCTL using the
get_current_groups API is called many times, the usage counter
overflows. To avoid this, access group info without taking a
reference. A reference is not required as group info is not
released during the IOCTL call.

Change-Id: I596fefd315a942864c05ad13778effdbce32acba
Signed-off-by: default avatarANANDU KRISHNAN E <[email protected]>
parent 52b97274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment