Bug#791641: [PATCH 1/1] url_set_postdata: include terminator in allocation

2015-07-08 Thread Jeff Fulmer
t 11:40 PM, Rob Browning wrote: > Jeff Fulmer writes: > > > If we do it like that, aren't we whacking the last character of content? > > Hmm, assuming I'm not misreading, perhaps not? Since for a length of > say 1 it'll be "setting this->postda

Bug#791641: [PATCH 1/1] url_set_postdata: include terminator in allocation

2015-07-07 Thread Jeff Fulmer
Rob, If we do it like that, aren't we whacking the last character of content? What do you think of this: if (strlen(postdata) > 0) { this->postdata = xmalloc(this->postlen + 1); memset(this->postdata, '\0', this->postlen +1); memcpy(this->postdata, postdata, this->postlen);

Bug#382313: siege: segfaults on --hlep

2006-08-21 Thread Jeff Fulmer
I was able to reproduce it. I'll fix it soon. Jeff > Package: siege > Severity: normal > > When I run: > > siege --hlep > > I get: > > Segmentation fault. > > Yes, that was a typo, but I'm guessing a segfault isn't the best way to > report that :) > > -- System Information: > Debian Release: test