[Spice-devel] [PATCH v4] Check too long password
Daniel P. Berrange
berrange at redhat.com
Wed Jun 3 07:25:17 PDT 2015
On Wed, Jun 03, 2015 at 04:22:35PM +0200, Cédric Bosdonnat wrote:
> Make sure that the password lenght is under the maximum lenght. If not
Nit-pick if you re-post, s/lenght/length/g or someone can fixup when
merging
> report it as an authentication failure with an adapted message.
> ---
> Diff to v3:
>
> * Removed the checks on the server side and the corresponding code here
> * Removed the new error code to reuse SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD.
> * spice_channel_send_spice_ticket returns SpiceChannelEvent instead of a gboolean:
> this helps properly propagating the kind of error to the client.
>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the Spice-devel
mailing list