[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2207 [Polipo]: special URL access may cause segfault (NULL-deref)
#2207: special URL access may cause segfault (NULL-deref)
----------------------+-----------------------------------------------------
Reporter: meyering | Type: defect
Status: new | Priority: normal
Milestone: | Component: Polipo
Version: | Keywords:
Parent: |
----------------------+-----------------------------------------------------
wget 'http://localhost:8123/polipo/index?'
can make polipo to dereference NULL.
That happens if this malloc fails:
request = malloc(sizeof(SpecialRequestRec));
if(request == NULL) {
...
} else {
...
}
...
request->object = object
I've attached a proposed patch:
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2207>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs