projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584427c
)
gsm 04.80: ussd_request.text can contain 0xff, needs to be unsigned
author
Harald Welte
<laforge@gnumonks.org>
Sat, 16 Jul 2011 11:28:59 +0000
(13:28 +0200)
committer
Harald Welte
<laforge@gnumonks.org>
Sat, 16 Jul 2011 11:28:59 +0000
(13:28 +0200)
Found by Smatch
include/osmocom/gsm/gsm0480.h
patch
|
blob
|
history
diff --git
a/include/osmocom/gsm/gsm0480.h
b/include/osmocom/gsm/gsm0480.h
index
d6626d6
..
f6c3734
100644
(file)
--- a/
include/osmocom/gsm/gsm0480.h
+++ b/
include/osmocom/gsm/gsm0480.h
@@
-8,7
+8,7
@@
#define MAX_LEN_USSD_STRING 31
struct ussd_request {
-
char
text[MAX_LEN_USSD_STRING + 1];
+
uint8_t
text[MAX_LEN_USSD_STRING + 1];
uint8_t transaction_id;
uint8_t invoke_id;
};