Whamcloud - gitweb
LU-6542 lnet: handle cYAML out of memory error 78/15778/3
authorAmir Shehata <amir.shehata@intel.com>
Tue, 28 Jul 2015 20:19:40 +0000 (13:19 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Aug 2015 02:05:45 +0000 (02:05 +0000)
commitea229b9db1647e167f6c851154a102f1b6fc3fd6
tree25761875a97e6ba08a0227a456c9e3c48c5a3daf
parentad4ca062720cf5c0ee5bda5c9dcc3e09521d07bb
LU-6542 lnet: handle cYAML out of memory error

in cYAML_build_error() there is a potential on run out of memory
scenario, that it is ignored and no error is built.
In this case print out a properly formated YAML error message
indicating fatal error

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Id9159044acafb38bd022f421a997fa2d2f1841e8
Reviewed-on: http://review.whamcloud.com/15778
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/utils/cyaml/cyaml.c