summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/calypso/irq.c
diff options
context:
space:
mode:
authorHarald Welte2011-07-16 17:41:02 +0200
committerHarald Welte2011-07-16 17:41:02 +0200
commit48db968916514a9950fd1f8d43bbf389c39b1d53 (patch)
tree3d06810cc17666285f2b0e9582d925e3ee26cf9b /src/target/firmware/calypso/irq.c
parentsysinfo.h: ARFCN can be 0..1024, so we need an array of 1025 entries (diff)
downloadosmocom-48db968916514a9950fd1f8d43bbf389c39b1d53.tar.gz
osmocom-48db968916514a9950fd1f8d43bbf389c39b1d53.tar.xz
osmocom-48db968916514a9950fd1f8d43bbf389c39b1d53.zip
settings.h: IMSI is 15 bytes +1 \0 maximum
If we use a larger field to store the IMSI, we can create overflows when copying the imsi to other structures that are only 16 bytes in size. Detected by Smatch: src/host/layer23/src/mobile/subscriber.c +195 gsm_subscr_testcard(39) error: strcpy() 'set->test_imsi' too large for 'subscr->imsi' (20 vs 16)
Diffstat (limited to 'src/target/firmware/calypso/irq.c')
0 files changed, 0 insertions, 0 deletions