Don't read past the last list entry in _add_priority, doing so adds algorithms that...
commitf8bf0c9998ca7f33c6afa6e457b89c480ae75b64
authorTim Kosse <tim.kosse@filezilla-project.org>
Thu, 15 Nov 2012 18:57:01 +0000 (15 19:57 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 15 Nov 2012 22:11:51 +0000 (15 23:11 +0100)
tree4708fd324e09d6edcbaf3d785b210366c0738030
parentd5d1d581af4b388258c7ab9f71f90324d70a9385
Don't read past the last list entry in _add_priority, doing so adds algorithms that shouldn't be added and can even lead to a segfault.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lib/gnutls_priority.c