certik / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

Crash when emitting an empty node #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following program:

#include <iostream>
#include "yaml-cpp/yaml.h"

int main()
{
  YAML::Node doc;
  std::cout << doc << "\n";
  return 0;
}

crashes on the line with cout.

This is using version 0.5.1.

Original issue reported on code.google.com by jbe...@gmail.com on 10 Jul 2013 at 1:11

GoogleCodeExporter commented 9 years ago
Fixed, 
https://code.google.com/p/yaml-cpp/source/detail?r=c93a3c943d96f462058acf017b99a
51ff36a5ea8

Original comment by jbe...@gmail.com on 10 Jul 2013 at 1:30