[pulseaudio-tickets] [Bug 95291] New: Possible memory leak in pulsecore/core-util.c
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 6 04:41:20 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95291
Bug ID: 95291
Summary: Possible memory leak in pulsecore/core-util.c
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: core
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: srivastava.d at samsung.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
In src/pulsecore/core-util.c, below function
char *pa_getcwd(void) {
size_t l = 128;
for (;;) {
char *p = pa_xmalloc(l);
if (getcwd(p, l))
return p;
if (errno != ERANGE) {
return NULL;
}
pa_xfree(p);
l *= 2;
}
}
If (errno != ERANGE) condition occur, then memory allocated for p will leak.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160506/7cea7cf6/attachment.html>
More information about the pulseaudio-bugs
mailing list