Date: Wed, 26 Sep 2018 16:42:27 +0000 (UTC) From: chris...@astron.com (Christos Zoulas) Message-ID: <pogctj$rd$1...@blaine.gmane.org>
| Well, it will return the wrong results... so might as well change the | memcpy to memmove? No? The results would not have been wrong - this was purely a SSP detected gotcha - all it was doing was memcpy(p, p, strlen(p)-N) which always works... I have just made a slightly different hack which should avoid SSP issues (I think) and allow the dirname() of a previous dirname() output (though that should still be changed in the source). kre