<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sebastian/libevent, branch kq_setup_kevent-fix</title>
<subtitle>Sebastian's libevent repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/'/>
<entry>
<title>Properly zero the kevent in kq_setup_kevent()</title>
<updated>2012-03-13T07:33:06+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2012-03-13T07:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=c2c7b39d0dbf934d183db48a44c8d16965a35026'/>
<id>c2c7b39d0dbf934d183db48a44c8d16965a35026</id>
<content type='text'>
Detected by clang
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Detected by clang
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop crashing in evdns when nameserver probes give a weird error</title>
<updated>2012-02-16T01:25:31+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-16T01:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=bec50680a31834619e66cb8b97edd6d5b5f15701'/>
<id>bec50680a31834619e66cb8b97edd6d5b5f15701</id>
<content type='text'>
When a nameserver is down, we periodically try sending a "probe"
message to that nameserver to see if it has come back up.  If a
nameserver comes up, we cancel any pending probe messages.

Cancelling a probe message while handling the probe's response would
result in a access-after-free or a double-free, so when we notice that
we're about to call a nameserver up because of having received a probe
from it, we need to check whether current response is the response
from the probe.

There was a case where we didn't to that, though: when the resolver
gave us an unusual error response to our request that it resolve
google.com.  This is pretty rare, but apparently it can happen with
some weird cacheing nameservers -- the one on the mikrotik router, for
example.  Without this patch, we would crash with a NULL pointer
derefernce.

Thanks to Hannes Sowa for finding this issue and helping me track it
down.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a nameserver is down, we periodically try sending a "probe"
message to that nameserver to see if it has come back up.  If a
nameserver comes up, we cancel any pending probe messages.

Cancelling a probe message while handling the probe's response would
result in a access-after-free or a double-free, so when we notice that
we're about to call a nameserver up because of having received a probe
from it, we need to check whether current response is the response
from the probe.

There was a case where we didn't to that, though: when the resolver
gave us an unusual error response to our request that it resolve
google.com.  This is pretty rare, but apparently it can happen with
some weird cacheing nameservers -- the one on the mikrotik router, for
example.  Without this patch, we would crash with a NULL pointer
derefernce.

Thanks to Hannes Sowa for finding this issue and helping me track it
down.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed OPENSSL_LDFLAGS to OPENSSL_LIBADD</title>
<updated>2012-02-14T20:37:58+00:00</updated>
<author>
<name>Mark Ellzey</name>
<email>mark.thomas@mandiant.com</email>
</author>
<published>2012-02-14T20:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=2d67b638536d33bd84173238a9c933f04aaed15c'/>
<id>2d67b638536d33bd84173238a9c933f04aaed15c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added OPENSSL_LDFLAGS env variable which is appended to SSL checks.</title>
<updated>2012-02-14T20:01:02+00:00</updated>
<author>
<name>Mark Ellzey</name>
<email>mark.thomas@mandiant.com</email>
</author>
<published>2012-02-14T20:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=92781968475c7553a08f5b4161f1df631c6ef01f'/>
<id>92781968475c7553a08f5b4161f1df631c6ef01f</id>
<content type='text'>
If openssl is not installed system-wide or not compiled as a shared library,
some systems require various link flags (e.g., -ld).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If openssl is not installed system-wide or not compiled as a shared library,
some systems require various link flags (e.g., -ld).
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak the evutil_open_closeonexec patch to work on windows, old unixes.</title>
<updated>2012-02-12T02:17:18+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-12T02:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=03dce42dfa0380a96bdfc2e9c18b15318ec0ba5b'/>
<id>03dce42dfa0380a96bdfc2e9c18b15318ec0ba5b</id>
<content type='text'>
Windows doesn't have a mode_t as far as I can tell.

Some unixes, iirc, don't like three-argument open without O_CREAT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows doesn't have a mode_t as far as I can tell.

Some unixes, iirc, don't like three-argument open without O_CREAT.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make uses of open() close-on-exec safe by introducing evutil_open_closeonexec.</title>
<updated>2012-02-12T02:10:22+00:00</updated>
<author>
<name>Ross Lagerwall</name>
<email>rosslagerwall@gmail.com</email>
</author>
<published>2012-02-11T15:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=d2b5f7223abe4825410392a54ac34dc973465faf'/>
<id>d2b5f7223abe4825410392a54ac34dc973465faf</id>
<content type='text'>
In a multi-process/threaded environment, opening fds internally
without the close-on-exec flag could leak fds to child processes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a multi-process/threaded environment, opening fds internally
without the close-on-exec flag could leak fds to child processes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an empty section to the changelog for 2.0.18-stable</title>
<updated>2012-02-11T03:20:05+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-11T03:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=0c483170be2f447c6d1d1cfe103506976e1523d4'/>
<id>0c483170be2f447c6d1d1cfe103506976e1523d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct a name in the credits. oops</title>
<updated>2012-02-11T03:17:59+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-11T03:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=5a807b7aa21ccef7743fadfc7534277ba86e3480'/>
<id>5a807b7aa21ccef7743fadfc7534277ba86e3480</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 2.0.17-stable-dev</title>
<updated>2012-02-11T03:16:14+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-11T03:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=2d7bf0f78dce4537ec818eb67791d823aa572c95'/>
<id>2d7bf0f78dce4537ec818eb67791d823aa572c95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update the credits in the readme</title>
<updated>2012-02-10T23:39:31+00:00</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2012-02-10T23:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/libevent.git/commit/?id=83e58ccd3099167908edbba12d7d228a70900007'/>
<id>83e58ccd3099167908edbba12d7d228a70900007</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
