[[ Bugfix 13132 ]] OSX 10.6 does not contain an implementation for strndup so use our own regardless of the OSX version
Added bugfix note
Make sure string returned by my_strndup is null terminated
Merge remote-tracking branch 'panos/bugfix-13132' into bugfix-13132
Merge branch 'bugfix-13132' into develop