• Mattias Engdegård's avatar
    Don't rely on copying in {EN,DE}CODE_FILE · 402cbc5b
    Mattias Engdegård authored
    Callers of ENCODE_FILE and DECODE_FILE should not assume that these
    functions always return a new string (bug#40407).
    
    * src/w32fns.c (Fw32_shell_execute):
    * src/w32proc.c (Fw32_application_type):
    Sink taking the address of a Lisp string past GC points.
    Copy values returned from ENCODE_FILE before mutating them.
    402cbc5b
w32proc.c 118 KB