nickva commented on issue #4434:
URL: https://github.com/apache/couchdb/issues/4434#issuecomment-1437341948

   It's probably because of `list_to_existing_atom` in 
https://github.com/apache/couchdb/blob/a1fc8075f3e86ec2242eedd2b1bbbd15758515e7/src/couch/src/couch_flags_config.erl#L161
   
   There may be a chicken-and-egg problem: we're trying to load the flags 
before we're loading the first instance or anything creating the partitioned` 
atom.
   
   We should see if `list_to_existing_atom` actually protects us from 
unauthorized users creating unreasonable amount of atoms (normally are not 
allowed unrestricted access to populate .ini config files). Or, we could have 
to predefined somewhere a list of expected atoms which may appear in flags.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to