[Swan-dev] Android with XAuth: Password contains NUL character

Wolfgang Nothdurft wolfgang at linogate.de
Fri May 30 14:56:43 EEST 2014


Am 30.05.2014 13:04, schrieb Wolfgang Nothdurft:
> It seems that android sends the password with NUL character.
>
> The change was in commit:
>
> commit 018e484346efc2105e79c210d0255a79d05fa509
> Author: D. Hugh Redelmeier <hugh at mimosa.com>
> Date:   Sun Apr 13 22:03:25 2014 -0400
>
>
> Here is my debug output:
>
> "XAUTH User Password contains NUL character: rejected (%s)
> %d=%d",strattr.cur,sz,strnlen((const char *)strattr.cur, sz));
>
> May 30 12:58:50 master pluto[6353]: "client-android"[4] 80.187.107.190
> #2: XAUTH User Password contains NUL character: rejected (password) 9=8
>
>
> Wolfgang
> _______________________________________________
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan-dev
>


It seems that this problem only affects some android versions.

If I connect with my Acer V370 (android 4.2.2), I have the NUL character 
problem.
With a Samsung S4, also android 4.2.2, there is no problem.

The problem seems to be known since 08/2012 ;)

https://code.google.com/p/android/issues/detail?id=36879

Wolfgang


More information about the Swan-dev mailing list