raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e3f19848336f9ab9cf96ea5ae670a84289ee5655
commit e3f19848336f9ab9cf96ea5ae670a84289ee5655 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Fri Jul 8 12:18:59 2016 +0900 elm quicklaunch binary - fix possible 0 termination issue with strings the input strings for agrs/env could be not 0 terminated tho the sender guarantees it. ensure they are by 0'ing the last byte fix CID 1353607 --- src/bin/elementary/quicklaunch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/elementary/quicklaunch.c b/src/bin/elementary/quicklaunch.c index 0318d96..4aaaf64 100644 --- a/src/bin/elementary/quicklaunch.c +++ b/src/bin/elementary/quicklaunch.c @@ -114,6 +114,7 @@ handle_run(int fd, unsigned long bytes) return; } close(fd); + if (bytes > 0) buf[bytes - 1] = 0; argc = ((unsigned long *)(buf))[0]; envnum = ((unsigned long *)(buf))[1]; --
