summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions
diff options
context:
space:
mode:
authorPaul Berry <paul@puppetlabs.com>2010-08-19 09:40:15 -0700
committerPaul Berry <paul@puppetlabs.com>2010-08-23 08:34:29 -0700
commit50fd9b77cdb2346ec0b760364841abd4eb6f23ff (patch)
tree110741f2a5a00d053a72368597c210f8360e2521 /lib/puppet/parser/functions
parent0f56c1b02d40f1f8552d933dd78b24745937b137 (diff)
downloadpuppet-50fd9b77cdb2346ec0b760364841abd4eb6f23ff.tar.gz
puppet-50fd9b77cdb2346ec0b760364841abd4eb6f23ff.tar.xz
puppet-50fd9b77cdb2346ec0b760364841abd4eb6f23ff.zip
Fixed issue #4570 (Race conditions when serializing objects to YAML).
The ZAML class was using class variables to keep track of labels and backreferences while serializing object to YAML. This made it possible to get ill-formed or incorrect YAML output if two threads tried to serialize objects at the same time. Changed to use instance variables of the ZAML class, so there is no race condition. Also added some more spec tests to verify that labels are generated properly.
Diffstat (limited to 'lib/puppet/parser/functions')
0 files changed, 0 insertions, 0 deletions