From c80d768004b51a9682f129c339494632acc806fa Mon Sep 17 00:00:00 2001 From: William King Date: Sat, 18 May 2013 17:46:13 -0700 Subject: [PATCH] My bad. some how a make didn't catch this issue after a cleanup refactor. In this instance buf is being treated as an 8 byte number, not a pointer. --- src/mod/applications/mod_spandsp/udptl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_spandsp/udptl.c b/src/mod/applications/mod_spandsp/udptl.c index 7d72cc16e9..786d4dfcd6 100644 --- a/src/mod/applications/mod_spandsp/udptl.c +++ b/src/mod/applications/mod_spandsp/udptl.c @@ -75,7 +75,7 @@ static int decode_open_type(const uint8_t *buf, int limit, int *len, const uint8 return -1; /* Was told the buffer was large enough, but in reality it didn't exist. FS-5202 */ - if ( buf[*len] == NULL ) + if ( buf[*len] == 0 ) return -1; *pbuf = &buf[*len];