diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-10-04 09:45:41 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-10-04 09:45:41 +0000 |
commit | f1ca7ff2d4a6fadab27fdfe822c3fbd87bffeb12 (patch) | |
tree | 0de00d32fe9d77154e57373eb3ca8fbca1121279 /bin/sh/sh.1 | |
parent | d602e034775ba7394b2088d51217c27f5449dd45 (diff) | |
download | FreeBSD-src-f1ca7ff2d4a6fadab27fdfe822c3fbd87bffeb12.zip FreeBSD-src-f1ca7ff2d4a6fadab27fdfe822c3fbd87bffeb12.tar.gz |
Fix the module name matching to the drivers present in the kernel. Previously
it would return true on a partial match where it would think the edsc module
was already present by having a positive match on 'ed'. This changes it so
that it compares the full string including the nul terminators.
This also fixes a buffer overflow in the ifkind variable where the length of
the interface name in *argv wasnt checked for size.
Reviewed by: brooks
Approved by: re (gnn)
Diffstat (limited to 'bin/sh/sh.1')
0 files changed, 0 insertions, 0 deletions