URI: 
       config: Fix a potential deadlock in config reading - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 94b616bdfad177daa99f5e87535943f509198f6f
   DIR parent 41c6c52eaddf6329cfdf59f478dce1fbdf443dca
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Fri, 30 Jul 2021 11:53:27 +0200
       
       config: Fix a potential deadlock in config reading
       
       Note that the deadlock has not been seen earlier, in tests on in real Hugo sites.
       
       Fixes #8791
       
       Diffstat:
         M config/defaultConfigProvider.go     |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/config/defaultConfigProvider.go b/config/defaultConfigProvider.go
       @@ -89,6 +89,7 @@ func (c *defaultConfigProvider) Get(k string) interface{} {
                c.mu.RLock()
                key, m := c.getNestedKeyAndMap(strings.ToLower(k), false)
                if m == nil {
       +                c.mu.RUnlock()
                        return nil
                }
                v := m[key]