Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: civetweb don't go past the array index while calling mg_start
currently we set the array size as the members in conf_map minus the members in rgw_opts, however all of the options inside rgw_opts like `prefix` do not feature in the conf_map hence the array is bigger than the expected size, and causes undefined behaviour depending on the compiler flags used. Fixes: http://tracker.ceph.com/issues/19749 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
- Loading branch information