Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mergeEnvLists (0.19 sec)

  1. test/escape_slice.go

    	return [1]*int(x)
    }
    
    func envForDir(dir string) []string { // ERROR "dir does not escape"
    	env := os.Environ()
    	return mergeEnvLists([]string{"PWD=" + dir}, env) // ERROR ".PWD=. \+ dir escapes to heap" "\[\]string{...} does not escape"
    }
    
    func mergeEnvLists(in, out []string) []string { // ERROR "leaking param content: in" "leaking param content: out" "leaking param: out to result ~r0 level=0"
    NextVar:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top