Hi Bart,

I just checked the 5.7 and master branches - looks great!

Thanks and best regards,

Andreas



Am 21.12.2015 um 17:37 schrieb Bart Van Assche:
> On 12/06/2015 06:54 PM, Andreas Rieke wrote:
>> Net-SNMP has implemented large fdsets in order to be able to work with
>> more than 64 (windows) or 1024 (linux) sockets in parallel. However,
>> there are several bugs in version 5.7.3 in file snmplib/large_fd_set.c
>> which are relevant only under windows (not cygwin) when more than 64
>> sockets are used.
>>
>> We should use the pointer lfs_setptr in the structure
>> netsnmp_large_fd_set when setting, clearing or testing sockets in the
>> fdset, and the unix functions do so (and work well). However, the
>> windows functions use the "small fdset" structure lfs_set, and this can
>> crash and can cause wrong results.
>>
>> For that reason, the bug is very easy to fix in replacing "lfs_set." by
>> "lfs_setptr->" in the three windows functions netsnmp_large_fd_setfd,
>> netsnmp_large_fd_clr and netsnmp_large_fd_is_set.
>
> Hello Andreas,
>
> Thanks for reporting this ! A candidate fix has been checked in on the
> v5.5, v5.6, v5.7 and master branches. It would be appreciated if you
> could help with testing this candidate fix.
>
> Bart.


--

   Dr.-Ing. Andreas Rieke
   Geschäftsführer




   ISL Internet Sicherheitslösungen GmbH
   Kaiserstrasse 78
   D-58300 Wetter (Ruhr)

   Tel.: +49 2335 96756-10
   Fax: +49 2335 96756-50
   Mobil: +49 177 4904469
   E-Mail: andreas.ri...@isl.de
   Website: www.isl.de <http://www.isl.de/>
   Website: www.arp-guard.com <http://www.arp-guard.com/>



   Geschäftsführer: Dr.-Ing. Andreas Rieke | Sitz: Wetter (Ruhr)
   HRB 3816 | Amtsgericht Hagen | UStID-Nr. DE 201547313

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to