diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-01 18:13:38 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-10-01 18:13:38 -0300 |
commit | 2790c55aea898f49e03574eb933c3895b05a236a (patch) | |
tree | 703d6249c541dee315aaccf970df86c16a3fc82e | |
parent | 403d6642571256615600a9b248ea0b3d27978824 (diff) |
Prevent passing stdin (0) as a audio transport to applications.
-rw-r--r-- | audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index cccea053..5a8cd58b 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -2476,7 +2476,7 @@ int avdtp_set_configuration(struct avdtp *session, session, lsep->info.seid, rsep->seid); new_stream = g_new0(struct avdtp_stream, 1); - + new_stream->sock = -1; new_stream->session = session; new_stream->lsep = lsep; new_stream->rseid = rsep->seid; |