https://bugs.kde.org/show_bug.cgi?id=395266
Bug ID: 395266 Summary: Environment variables with slashes get dropped Product: valgrind Version: 3.13.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: t...@iki.fi Target Milestone: --- Example program: #include <stdio.h> #include <stdlib.h> int main(void) { printf("%s\n", getenv("FOO/BAR")); return 0; } I can successfully run it with: env 'FOO/BAR=1' ./test However, with valgrind FOO/BAR is NULL and it crashes: env 'FOO/BAR=1' valgrind ./test ==77478== Invalid read of size 1 ==77478== at 0x4C2FD72: strlen (vg_replace_strmem.c:458) ==77478== by 0x4EA7D01: puts (ioputs.c:35) ==77478== by 0x1086A1: main (in /home/tss/test) -- You are receiving this mail because: You are watching all bug changes.