]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
My bad. some how a make didn't catch this issue after a cleanup refactor. In this...
authorWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:46:13 +0000 (17:46 -0700)
committerWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:46:50 +0000 (17:46 -0700)
src/mod/applications/mod_spandsp/udptl.c

index 7d72cc16e9a77248cb7bdc99d440162bbcb1bc5c..786d4dfcd64084a03269cb40dcb9249b581e1613 100644 (file)
@@ -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];