projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b87dd6
)
[chan_lcr] Fixed uninitialized variable in ast_read()
author
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 28 Sep 2010 06:55:29 +0000
(08:55 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 28 Sep 2010 06:56:48 +0000
(08:56 +0200)
Thanx to Martin for this bug report.
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
877bd11
..
110c337
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-2196,7
+2196,7
@@
static int lcr_write(struct ast_channel *ast, struct ast_frame *f)
static struct ast_frame *lcr_read(struct ast_channel *ast)
{
struct chan_call *call;
static struct ast_frame *lcr_read(struct ast_channel *ast)
{
struct chan_call *call;
- int len;
+ int len
= 0
;
ast_mutex_lock(&chan_lock);
call = ast->tech_pvt;
ast_mutex_lock(&chan_lock);
call = ast->tech_pvt;