irungentoo/ProjectTox-Core — pull request #447 by gladiac (2013-08-13 07:31:28+00:00)
Title: Fixes

Hi,

here are two patches.

The first is a better cross platform implementation of get_user_config_dir() with fallbacks.

The second fixes a possible buffer overflow if the provided buffer is smaller then the m->name_length.