mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
I'm a dumbass: remember to initialize fh->nf_map to NULL in
ndis_open_file() in the module loading case.
This commit is contained in:
parent
344bbdbd54
commit
ae58ccaa60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133880
@ -2653,6 +2653,7 @@ ndis_open_file(status, filehandle, filelength, filename, highestaddr)
|
||||
if (ndis_find_sym(lf, afilename, "_end", &kldend))
|
||||
continue;
|
||||
fh->nf_vp = lf;
|
||||
fh->nf_map = NULL;
|
||||
fh->nf_type = NDIS_FH_TYPE_MODULE;
|
||||
*filelength = fh->nf_maplen = (kldend - kldstart) & 0xFFFFFFFF;
|
||||
*filehandle = fh;
|
||||
|
Loading…
Reference in New Issue
Block a user