`readlink` does not write a trailing 0 into the buffer it fills

You can merge this Pull Request by running:

  git pull https://github.com/fpsunflower/oiio readlink-bug

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenImageIO/oiio/pull/367

-- Commit Summary --

* Fix uninitialized memory in Sysutil::this_program_path because readlink does 
not write a trailing 0 into the buffer it fills

-- File Changes --

M src/libutil/sysutil.cpp (2)

-- Patch Links --

  https://github.com/OpenImageIO/oiio/pull/367.patch
  https://github.com/OpenImageIO/oiio/pull/367.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/367
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to