iraf-v216 · Code · Issues (50) · Pull requests (81)
iraf.net pull request #89
Check for identical addresses before strcpy() in mkpkg/tok.c
olebole merged 1 commit to iraf-community/iraf
olebole commented on 2017-06-15
When strcpy() is called with overlapping (or identical) addresses, the behaviour is undefined. Since this happens in one place when calling getcmd(), we have to check before strcpy() for this case.
Commits
- Check for identical addresses before strcpy() in mkpkg/tok.c [3c231596]
Last updated on 2017-06-15