diff options
| author | Wink Saville <wink@google.com> | 2012-01-23 12:19:20 -0800 |
|---|---|---|
| committer | Wink Saville <wink@google.com> | 2012-01-23 12:19:20 -0800 |
| commit | 7c27ac64d5072b411a50419a0a08bf6d568d19ad (patch) | |
| tree | 733c8bf7b97e44cf49fe4bb2b0f3da74a99a3979 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | 18798131c611301a38e194deac91ff35278da9cc (diff) | |
Do not clear good TLVs when a error occurs decoding.
In change Ief74d0e4f4f28dff7a435e9dab1fab1ca1d9bfaf with a sha1 of
e81932e92a773538e1ad1ad1d4bfd8f241860c8d it seemed like a good idea
to throw away all TLV's on errors. In retrospect that was probably
not a good idea. For example on the MTN Ghana SIM the error
occurs because of some 0 pad bytes at the end, all of the actual
TLV's are good, so throwing away everything is unreasonable. Instead
accepting what is valid seems a better approach.
Also, add a couple debug lines on error paths.
Change-Id: I4add0c9cd242f46e0ef8700229d0ec755b9e4c4c
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
