Skip to content

Commit

Permalink
windows: remove mention of LazyDLL with System "true"
Browse files Browse the repository at this point in the history
Addressing the review comment.
  • Loading branch information
thaJeztah committed Dec 24, 2024
1 parent 27e91d8 commit 1fe36ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/dll_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type DLL struct {
//
// Warning: using LoadDLL without an absolute path name is subject to
// DLL preloading attacks. To safely load a system DLL, use [NewLazySystemDLL],
// [LazyDLL] with System set to true, or use [LoadLibraryEx] directly.
// or use [LoadLibraryEx] directly.
func LoadDLL(name string) (dll *DLL, err error) {
namep, err := UTF16PtrFromString(name)
if err != nil {
Expand Down

0 comments on commit 1fe36ed

Please # to comment.