diff options
author | Anand Avati <avati@gluster.com> | 2011-02-16 01:41:44 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-15 23:52:19 -0800 |
commit | 3f0525e65e7eb1d48610f13152b676dd6d9208f5 (patch) | |
tree | 5a90e6176f944aa2bd196be78a288cf3f9558742 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | 43b68bb25c9ee16c10342ef643a6ecb82a345e16 (diff) |
volgen: avoid fclose() on cosed FILE *
It can so happen that a previously freed up FILE * structure has 0'ed
out memory and a second fclose() on it can result in close(0). This
results in bad bad things happening.
Signed-off-by: Anand Avati <avati@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2421 ([glusterfs-3.1.2gsync10]: epoll_create returning 0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2421
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
0 files changed, 0 insertions, 0 deletions