[PATCH] Add INVALID_PASSWORD link error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This link error reports too long password error, to have proper error
reporting rather than having an undefined behavior in such a case.
---
 Note: commits using this one in spice and spice-gtk will follow.

 spice.proto | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spice.proto b/spice.proto
index 01493c9..32768bf 100644
--- a/spice.proto
+++ b/spice.proto
@@ -45,7 +45,8 @@ enum32 link_err {
     NEED_UNSECURED,
     PERMISSION_DENIED,
     BAD_CONNECTION_ID,
-    CHANNEL_NOT_AVAILABLE
+    CHANNEL_NOT_AVAILABLE,
+    INVALID_PASSWORD
 };
 
 enum32 warn_code {
-- 
2.1.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]