Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Magnus Fromreide
On Sat, May 19, 2018 at 05:28:31PM -0700, Bart Van Assche wrote: > On 05/19/18 15:14, Magnus Fromreide wrote: > > On Sat, May 19, 2018 at 02:07:56PM -0700, Bart Van Assche wrote: > > > strlcpy() implementations typically scan for the end of the source > > > argument > > > passed to strlcpy().

Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Robert Story
On Sat, 19 May 2018 14:07:56 -0700 Bart wrote: BVA> strlcpy() implementations typically scan for the end of the BVA> source argument passed to strlcpy(). Hence avoid passing an BVA> unterminated string to strlcpy(). I'm going to say -1, but for the patch and not the need to fix the issue. This

Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Bart Van Assche
On 05/19/18 15:14, Magnus Fromreide wrote: On Sat, May 19, 2018 at 02:07:56PM -0700, Bart Van Assche wrote: strlcpy() implementations typically scan for the end of the source argument passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy(). Reported-by: Stuart Henderson

Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Magnus Fromreide
On Sat, May 19, 2018 at 02:07:56PM -0700, Bart Van Assche wrote: > strlcpy() implementations typically scan for the end of the source argument > passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy(). > > Reported-by: Stuart Henderson > Fixes:

Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Stuart Henderson
On 2018/05/19 14:07, Bart Van Assche wrote: > strlcpy() implementations typically scan for the end of the source argument > passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy(). > > Reported-by: Stuart Henderson > Fixes: 7f05daa8e0e0 ("CHANGES: BUG:

[PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Bart Van Assche
strlcpy() implementations typically scan for the end of the source argument passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy(). Reported-by: Stuart Henderson Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3444939: BUG: 1796886: snmplib: Avoid that

Re: Net-SNMP 5.8.rc2 available for testing

2018-05-19 Thread Stuart Henderson
On 2018/05/19 10:26, Magnus Fromreide wrote: > On Fri, May 18, 2018 at 08:46:40PM -0700, Bart Van Assche wrote: > > On 05/18/18 18:05, Stuart Henderson wrote: > > > On 2018/05/18 18:36, Robert Story wrote: > > > > snmplib: > > > >- [BUG 2815]: Display UTF-8 characters again > > > >

Re: Net-SNMP 5.8.rc2 available for testing

2018-05-19 Thread Magnus Fromreide
On Fri, May 18, 2018 at 08:46:40PM -0700, Bart Van Assche wrote: > On 05/18/18 18:05, Stuart Henderson wrote: > > On 2018/05/18 18:36, Robert Story wrote: > > > snmplib: > > >- [BUG 2815]: Display UTF-8 characters again > > >- [BUG 3444939]: BUG: 1796886: snmplib: Avoid that >