Menu

#3316 base: increase buffer for list of members in a group

5.22.11
fixed
None
defect
base
nd
minor
False
2022-06-09
2022-05-24
No

When access imm, a user needs to be authenticated to be superuser or a member of authorized group. In case authorized group has too many users, the default system buffer is insufficient to contain leading to error: Numerical result out of range.

Related

Wiki: ChangeLog-5.22.11

Discussion

  • PhanTranQuocDat

    PhanTranQuocDat - 2022-05-24
    • Description has changed:
     

    Last edit: PhanTranQuocDat 2022-05-24
  • PhanTranQuocDat

    PhanTranQuocDat - 2022-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1 @@
     When access imm, a user needs to be authenticated to be superuser or  a member of authorized group.  In case authorized group has too many users, the default system buffer is insufficient to contain leading to  error: Numerical result out of range.
    -
    
     

    Last edit: PhanTranQuocDat 2022-05-24
  • PhanTranQuocDat

    PhanTranQuocDat - 2022-05-24
    • Type: enhancement --> defect
     
  • Gary Lee

    Gary Lee - 2022-06-01
    • Milestone: 5.22.06 --> 5.22.11
     
  • Thang Duc Nguyen

    commit bd1523d7ca818ee1040b4924c2baba25188636f2 (HEAD -> develop, origin/develop, ticket-3316)
    Author: dat.tq.phan dat.tq.phan@dektech.com.au
    Date: Fri May 27 14:46:52 2022 +0700

    base: increase buffer size for users in group [#3316]
    
    When access imm, a user needs to be authenticated.
    In case authorized group has too many users, the default
    system buffer is insufficient to contain all users.
    
    Solution is to increase the buffer when encouter bufffer error.
    
     
  • Thang Duc Nguyen

    • status: assigned --> review
     
  • Thang Duc Nguyen

    • status: review --> fixed
     
  • Thien Minh Huynh

    commit 12553142ea53b5ea1b608cdac64973a50dd231ee (HEAD -> develop, origin/develop, ticket-3316)
    Author: thien.m.huynh thien.m.huynh@dektech.com.au
    Date: Tue Jun 7 13:08:32 2022 +0700

    base: Correctly use the MAX_GRP_MEM_BUF_SIZE [#3316]
    
    Reset errno to prevent ERANGE unexpected.
    Align realloc memory with MAX_GRP_MEM_BUF_SIZE.
    Improve logging for unexpected configure.
    
     

Log in to post a comment.