Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 struct sockaddr_in initialization

open
nobody
libcutlass (2)
3
2004-09-11
2004-09-11
nash
No

Currently, users of libcutlass need to calloc any
struct sockaddr_in memory that gets passed to the
various calls. If not, then the low-level hash keys
become inconsistent. At least in Linux, there appears
to be some padding at the end of struct sockaddr_in
(member name is sin_zero).

The proper behavior for libcutlass would be for any
call that recieves a struct sockaddr_in to build the
hashkey inside the library to ensure that this stuff
gets handled correctly.

Discussion

  • Logged In: YES
    user_id=1342884
    Originator: NO

    Debian (latest version as of August 21)
    Ran as user and root ./configure

    Get this error:
    configure: error: Cutlass needs the function socket(), but it cannot be found

    For debian or ubuntu users, it may require a:
    sudo apt-get install botan*
    before running a ./configure