Description of problem: In the entire code base, many structures are allocating the memory statically. Instead we can allocate memory dynamically. One such structure is: struct glusterd_brickinfo { char hostname[NAME_MAX]; char path[VALID_GLUSTERD_PATHMAX]; char real_path[VALID_GLUSTERD_PATHMAX]; char device_path[VALID_GLUSTERD_PATHMAX]; char mount_dir[VALID_GLUSTERD_PATHMAX]; char brick_id[1024]; /*Client xlator name, AFR changelog name*/ char fstype[NAME_MAX]; /* Brick file-system type */ char mnt_opts[1024]; /* Brick mount options */ .. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
As we are not planning to work on this in near future, closing this as won't fix.