OSDN Git Service

Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
authorChris Palmer <palmer@google.com>
Tue, 30 Jun 2009 18:50:50 +0000 (11:50 -0700)
committerChris Palmer <palmer@google.com>
Tue, 30 Jun 2009 18:50:50 +0000 (11:50 -0700)
commit38567852256d215847bc33263422bde0ddd1d150
tree8f4e746cf885523efb42889206da6c64f94d05c0
parent33a7030f56d83126baa656820bf884ea02772751
Ensure that we never trigger ArrayIndexOutOfBoundsException by checking that
the index is always < the array's length. Also ensures that the object's
state is consistent. Should resolve a denial-of-service bug when handling
malformed WAP pushes.
telephony/java/com/android/internal/telephony/WspTypeDecoder.java