projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51eb22
)
Fix: Do not send notify IDs that are not 0, 1 or 2
author
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 19 Sep 2013 06:41:58 +0000
(08:41 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 15 Dec 2015 19:53:26 +0000
(20:53 +0100)
Other notify IDs are reserved.
gsm.cpp
patch
|
blob
|
history
diff --git
a/gsm.cpp
b/gsm.cpp
index
0a42b14
..
36fb98b
100644
(file)
--- a/
gsm.cpp
+++ b/
gsm.cpp
@@
-838,6
+838,9
@@
void Pgsm::message_notify(unsigned int epoint_id, int message_id, union paramete
// printf("if = %d\n", param->notifyinfo.notify);
if (param->notifyinfo.notify>INFO_NOTIFY_NONE) {
notify = param->notifyinfo.notify & 0x7f;
+ /* skip all notifiy ids that are not 0, 1, 2 */
+ if (notify > 2)
+ return;
if (p_state!=PORT_STATE_CONNECT /*&& p_state!=PORT_STATE_IN_PROCEEDING*/ && p_state!=PORT_STATE_IN_ALERTING) {
/* queue notification */
if (p_g_notify_pending)