git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d941303
)
mounttab-20040506
author
Jeffrey Altman
<jaltman@mit.edu>
Thu, 6 May 2004 21:52:16 +0000 (21:52 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 6 May 2004 21:52:16 +0000 (21:52 +0000)
ensure that we do not access an array with -1
src/WINNT/client_creds/mounttab.cpp
patch
|
blob
|
history
diff --git
a/src/WINNT/client_creds/mounttab.cpp
b/src/WINNT/client_creds/mounttab.cpp
index
1fb6d43
..
d82a81b
100644
(file)
--- a/
src/WINNT/client_creds/mounttab.cpp
+++ b/
src/WINNT/client_creds/mounttab.cpp
@@
-195,9
+195,9
@@
void Mount_OnCheck (HWND hDlg)
Message (MB_OK | MB_ICONHAND, IDS_ERROR_UNMAP, IDS_ERROR_UNMAP_DESC, TEXT("%08lX"), dwStatus);
Mount_OnUpdate (hDlg);
}
+ WriteActiveMap(List.aDriveMap[ iDriveSel ].chDrive, fChecked && List.aDriveMap[ iDriveSel ].fPersistent );
}
- WriteActiveMap(List.aDriveMap[ iDriveSel ].chDrive, fChecked && List.aDriveMap[ iDriveSel ].fPersistent );
FreeDriveMapList (&List);
}