ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

SAL annotation for some JsRT APIs should be changed.

Open akroshg opened this issue 10 years ago • 4 comments

eg. JsSetCurrentContext takes nullptras input but the API annotation has only__In__,so this raises the preFAST error. There are other APIs which have the same behavior. We need to look at other APIs and fix that.

akroshg avatar Jun 30 '16 22:06 akroshg

Good finding @akroshg! Is there any test mechanism that can help us detect similar issues?

liminzhu avatar Jul 01 '16 18:07 liminzhu

If not I can take a manual scan at the headers and check if something is wrong.

liminzhu avatar Jul 01 '16 18:07 liminzhu

@liminzhu want to take a look?

dilijev avatar Jun 27 '18 23:06 dilijev

Why doesn't this apply? It's still making a warning now image

karikera avatar Nov 21 '19 08:11 karikera