pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


nfs41_driver warnings
Posted by Anonymous on Tue 30th Jan 2024 13:31
raw | new post

  1. "C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj" (Build Ziel) (1) ->
  2. (RunNativeCodeAnalysis Ziel) ->
  3.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_debug.c(110): warning C6273: Non-integer passed as _Param_(4) when an integer is required in call to 'DbgPrintEx' Actual type: 'struct _KPROCESS *':  if a pointer value is being passed, %p should be used. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  4.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(527): warning C6387: '_Param_(1)' could be '0':  this does not adhere to the specification for the function 'RtlUnicodeToUTF8N'.  [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  5.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(547): warning C6387: '_Param_(1)' could be '0':  this does not adhere to the specification for the function 'RtlUnicodeToUTF8N'.  [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  6.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(807): warning C28145: The opaque MDL structure should not be modified by a driver. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  7.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(888): warning C26451: Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2). [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  8.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(3841): warning C28145: The opaque MDL structure should not be modified by a driver. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  9.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(4398): warning C28145: The opaque MDL structure should not be modified by a driver. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  10.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(4492): warning C28182: Dereferencing NULL pointer. 'VNetRoot' contains the same NULL value as 'RxContext->pRelevantSrvOpen->pVNetRoot' did.  [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  11.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(4967): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  12.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(5912): warning C28167: The function 'enable_caching' changes the IRQL and does not restore the IRQL before it exits. It should be annotated to reflect the change or the IRQL should be restored. IRQL was last set to 1 at line 5943. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  13.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(6739): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  14.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(6737): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]
  15.   C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\sys\nfs41_driver.c(7141): warning C28168: The function 'DRIVER_DISPATCH' does not have a _Dispatch_type_ annotation matching dispatch table position 'IRP_MJ_CREATE' (0x00):  This can be corrected either by adding a _Dispatch_type_ annotation to the function declaration or correcting the dispatch table entry being used. [C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\build.vc19\nfs41_driver\nfs41_driver.vcxproj]

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at