<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>New Defects reported by Coverity Scan for GlusterFS</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Mon, 17 Mar 2014 22:19:17 -0700</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:scan-admin@coverity.com">scan-admin@coverity.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hi,
Please find the latest report on new defect(s) introduced to GlusterFS found with Coverity Scan.
Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1192875: Resource leak (RESOURCE_LEAK)
/xlators/storage/bd/src/bd.c: 688 in bd_open()
________________________________________________________________________________________________________
*** CID 1192875: Resource leak (RESOURCE_LEAK)
/xlators/storage/bd/src/bd.c: 688 in bd_open()
682
683 /* open posix equivalant of this file, fd needed for fd related
684 operations like fsetxattr, ftruncate etc */
685 STACK_WIND (frame, bd_open_cbk, FIRST_CHILD(this),
686 FIRST_CHILD(this)->fops->open, loc, flags, fd, xdata);
687
>>> CID 1192875: Resource leak (RESOURCE_LEAK)
>>> Variable "devpath" going out of scope leaks the storage it points to.
688 return 0;
689 out:
690 BD_STACK_UNWIND (open, frame, -1, ret, fd, NULL);
691
692 GF_FREE (devpath);
693 if (ret) {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, <a class="moz-txt-link-freetext" href="http://scan.coverity.com/projects/987?tab=Overview">http://scan.coverity.com/projects/987?tab=Overview</a>
To unsubscribe from the email notification for new defects, <a class="moz-txt-link-freetext" href="http://scan5.coverity.com/cgi-bin/unsubscribe.py">http://scan5.coverity.com/cgi-bin/unsubscribe.py</a>
</pre>
<br>
</div>
<br>
</body>
</html>