#50 new
wjt

Cope with getsockopt() failing in _lm_sock_get_error()

Reported by wjt | June 24th, 2009 @ 06:49 PM

_lm_sock_get_error() doesn't check the return value of getsockopt(), so if it fails it'll return an uninitialized error to the caller. In practice, I don't think that this will happen; nonetheless, the attached patch should make lm cope gracefully.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Libloudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows.

People watching this ticket

You can update this ticket by sending an email to from your email client. (help)