Description of problem: Return proper errno if gf_strdup() failed. Version-Release number of selected component (if applicable): GlusterFS 3.6.2 How reproducible: N/A Steps to Reproduce: N/A Actual results: Currently the result of gf_strdup() is not checked and missed to return ENOMEM if in case there was a failure. Expected results: It should return ENOMEM if there was a failure. Additional info:
REVIEW: http://review.gluster.org/9807 (libgfapi : set errno if gf_strdup failed.) posted (#1) for review on master by Humble Devassy Chirammal (humble.devassy)
REVIEW: http://review.gluster.org/9807 (libgfapi : set errno if gf_strdup() failed.) posted (#2) for review on master by Humble Devassy Chirammal (humble.devassy)
REVIEW: http://review.gluster.org/9807 (libgfapi: set errno if gf_strdup() failed.) posted (#3) for review on master by Humble Devassy Chirammal (humble.devassy)
REVIEW: http://review.gluster.org/9807 (libgfapi : return if gf_strdup failed.) posted (#4) for review on master by Humble Devassy Chirammal (humble.devassy)
REVIEW: http://review.gluster.org/9807 (libgfapi : return if gf_strdup failed) posted (#5) for review on master by Humble Devassy Chirammal (humble.devassy)
COMMIT: http://review.gluster.org/9807 committed in master by Niels de Vos (ndevos) ------ commit 07bd6c320c75c39b599929039d028fbc497d4322 Author: Humble Devassy Chirammal <hchiramm> Date: Mon Mar 30 18:59:52 2015 +0530 libgfapi : return if gf_strdup failed Change-Id: Ic8ad48b8118a8505ebbab2e9084007acca7226e9 BUG: 1198963 Signed-off-by: Humble Devassy Chirammal <hchiramm> Reviewed-on: http://review.gluster.org/9807 Reviewed-by: Niels de Vos <ndevos> Tested-by: Gluster Build System <jenkins.com>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user