cvs commit: src/sys/kern imgact_shell.c

看板DFBSD_commit作者時間21年前 (2005/02/25 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
dillon 2005/02/25 00:49:10 PST DragonFly src repository Modified files: sys/kern imgact_shell.c Log: Rewrite the loops which extract the interpreter name and arguments out of the #! line for a shell script. The loop was improperly handling a missing newline by scanning past the end of the buffer, resulting in a panic. Reported-by: Garance A Drosihn <drosih@rpi.edu> Revision Changes Path 1.5 +27 -20 src/sys/kern/imgact_shell.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_shell.c.diff?r1=1.4&r2=1.5&f=u
文章代碼(AID): #127kbQ00 (DFBSD_commit)
文章代碼(AID): #127kbQ00 (DFBSD_commit)