[libpri-commits] rmudgett: branch 1.4 r952 - /branches/1.4/pri_facility.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Thu Jul 23 15:54:02 CDT 2009
Author: rmudgett
Date: Thu Jul 23 15:53:59 2009
New Revision: 952
URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=952
Log:
Fixed potential NULL pointer dereference.
Modified:
branches/1.4/pri_facility.c
Modified: branches/1.4/pri_facility.c
URL: http://svn.asterisk.org/svn-view/libpri/branches/1.4/pri_facility.c?view=diff&rev=952&r1=951&r2=952
==============================================================================
--- branches/1.4/pri_facility.c (original)
+++ branches/1.4/pri_facility.c Thu Jul 23 15:53:59 2009
@@ -873,7 +873,7 @@
unsigned char buffer[255];
unsigned char *end;
- if (!req->called[0]) {
+ if (!req->called || !req->called[0]) {
return -1;
}
More information about the libpri-commits
mailing list