Loading system/stack/bnep/bnep_api.c +9 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <string.h> #include "bnep_api.h" #include "bnep_int.h" #include "log/log.h" extern fixed_queue_t *btu_general_alarm_queue; Loading Loading @@ -414,6 +415,10 @@ tBNEP_RESULT BNEP_WriteBuf (UINT16 handle, else { new_len += 4; if (new_len > org_len) { android_errorWriteLog(0x534e4554, "74947856"); return BNEP_IGNORE_CMD; } p_data[2] = 0; p_data[3] = 0; } Loading Loading @@ -521,6 +526,10 @@ tBNEP_RESULT BNEP_Write (UINT16 handle, else { new_len += 4; if (new_len > org_len) { android_errorWriteLog(0x534e4554, "74947856"); return BNEP_IGNORE_CMD; } p_data[2] = 0; p_data[3] = 0; } Loading Loading
system/stack/bnep/bnep_api.c +9 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <string.h> #include "bnep_api.h" #include "bnep_int.h" #include "log/log.h" extern fixed_queue_t *btu_general_alarm_queue; Loading Loading @@ -414,6 +415,10 @@ tBNEP_RESULT BNEP_WriteBuf (UINT16 handle, else { new_len += 4; if (new_len > org_len) { android_errorWriteLog(0x534e4554, "74947856"); return BNEP_IGNORE_CMD; } p_data[2] = 0; p_data[3] = 0; } Loading Loading @@ -521,6 +526,10 @@ tBNEP_RESULT BNEP_Write (UINT16 handle, else { new_len += 4; if (new_len > org_len) { android_errorWriteLog(0x534e4554, "74947856"); return BNEP_IGNORE_CMD; } p_data[2] = 0; p_data[3] = 0; } Loading