Keith Preston
b45b5c9f22
Fix Heap Corruption from too long of a TAG
...
snprintf has a weird return value. It returns what would have been written given a large enough buffer.
In the case that the prefix is longer then our buffer(128), it messes up the calculations below possibly causing heap corruption.
To avoid this we double check and set the length at the maximum (size minus null byte
2010-02-18 15:33:28 -06:00
Jean-Baptiste Queru
4b29fe640a
eclair snapshot
2009-11-12 18:46:23 -08:00
Wink Saville
7bdfb165ad
AI 144185: Integrate cdma into the main code base.
...
Automated import of CL 144185
2009-04-02 01:37:03 -07:00
Dianne Hackborn
f441e1e9c4
Automated import from //branches/donutburger/...@140818,140818
2009-03-24 18:36:55 -07:00
The Android Open Source Project
dd7bc3319d
auto import from //depot/cupcake/@135843
2009-03-03 19:32:55 -08:00
The Android Open Source Project
e54eebbf1a
auto import from //depot/cupcake/@135843
2009-03-03 18:29:04 -08:00
The Android Open Source Project
1b8e5a6b14
auto import from //branches/cupcake/...@131421
2009-02-13 12:57:54 -08:00
The Android Open Source Project
2eef60297a
auto import from //branches/cupcake/...@126645
2009-01-15 16:12:14 -08:00
The Android Open Source Project
4f6e8d7a00
Initial Contribution
2008-10-21 07:00:00 -07:00