Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/dist/smbfs/lib/smb



thorpej%wasabisystems.com@localhost said:
> Any reason not to use getifaddrs(3)? 

Afaict, this would work perfectly.
Only that this is third-party code...

btw, there are a lot of SIOCGIFCONF calls in the src tree.
I havn't seen that anyone copies the ifreq structures to
a normally allocated structure, so accesses to struct members
might lead to unaliged accesses. Or can we rely on sockaddr
sizes always being within some raster ensuring alignment?

best regards
Matthias





Home | Main Index | Thread Index | Old Index