cvs commit: src/sys/kern imgact_shell.c

Matthew Dillon dillon at
Fri Feb 25 00:49:26 PST 2005

dillon      2005/02/25 00:49:10 PST

DragonFly src repository

  Modified files:
    sys/kern             imgact_shell.c 
  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 at xxxxxxx>
  Revision  Changes    Path
  1.5       +27 -20    src/sys/kern/imgact_shell.c

More information about the Commits mailing list