Andreas Schneider
061fa6cc1b
misc: Correctly handle getenv().
...
The returned string of getenv() has an unknown size. You need to store
the result always in a char array with a certain size to make sure we
don't feed tainted data to the next function call.
2013-03-19 14:17:44 +01:00
Klaas Freitag
23fe05604b
Added new error types for service unavail, quoto and file too big.
2013-01-13 21:39:54 +01:00
Klaas Freitag
70e89720d5
Some code cleanups, removed not needed stuff.
2012-12-20 17:10:03 +01:00
Klaas Freitag
d6287fb5e3
fix win32 build, ifdefed non existing errnos.
2012-12-19 20:20:26 +01:00
Klaas Freitag
bbf4e07579
Proper errno to csync error conversion, more errno fixes in oC module.
2012-12-17 17:22:24 +01:00
Klaas Freitag
26191448e7
win32: Use wide character variant of GetSpecialFolderPath to get home.
2012-06-13 17:30:50 +02:00
Klaas Freitag
becb03ad97
Read $HOME variable first before checking the password file entry.
2012-04-14 03:13:27 +02:00
Andreas Schneider
f0cf678c0e
Fix config checks.
2012-03-02 17:04:02 +01:00
Dominik Schmidt
3ed887f152
windows: don't use malloc directly in csync_get_[user_home_dir||local_username]
2012-03-02 17:04:02 +01:00
Dominik Schmidt
6e4ce19a85
Add csync_fnmatch
2012-03-02 17:04:02 +01:00
Andreas Schneider
29839d42a8
misc: Add missing header file guard and update copyright.
2012-03-02 13:47:45 +01:00
Andreas Schneider
3952c4be62
misc: Add csync_get_user_home_dir() and csync_get_local_username().
2012-03-02 13:40:05 +01:00