|
From: Alain P. <apa...@us...> - 2002-05-24 07:46:31
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
btsec.c 1.1 1.2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Correct the fact that the PIN was not always null-terminated
The diff of the modified file(s):
--- btsec.c 18 Mar 2002 16:10:52 -0000 1.1
+++ btsec.c 24 May 2002 07:46:29 -0000 1.2
@@ -494,7 +494,7 @@
=20=20=20
if (length < 16) {
/* Add the null-terminated */
- pin_code[length] =3D '\0';
+ security_message.event_param[length] =3D '\0';
}
=20
/* Set the originator */
@@ -505,6 +505,7 @@
security_message.request_result =3D SECURITY_OK;
else
security_message.request_result =3D GENERAL_FAILURE;
+
=20
/* Write to proc file */
write_proc_file ();
|