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

#12 mix.c: strncat to undefined line

closed-fixed
None
5
2002-07-21
2002-07-21
Peter Palfrader
No

In mix.c's mix_config() function we try to find Mix'
basedirectory.

In SPOOL is not defined (with our INSTALL it always is) we
append "Mix" to the user's homedirectory (as given by
getpwuid()).

Unfortunatly we append the homedirectry to an undefined
value for line. Using strncpy instead of strcatn seems
to fix the problem.

Discussion

  • fix

     
    Attachments
    • status: open --> closed-fixed