This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit 03414aa
authored
Fix ProcessStartInfo tests on CentOS in Debug (#26945)
There is a bug in CentOS7.1 getpwnam_r where it returns the wrong value if you pass in a buffer that is too small to hold the data. In Debug builds, we are purposefully passing in a buffer that is too small to test the fallback code, which is running into this OS bug.
See https://bugs.centos.org/view.php?id=7324
Fixes #266731 parent 5cec1f3 commit 03414aa
File tree
1 file changed
+2
-5
lines changed- src/System.Diagnostics.Process/src/System/Diagnostics
1 file changed
+2
-5
lines changedLines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | 627 | | |
| 628 | + | |
| 629 | + | |
632 | 630 | | |
633 | | - | |
634 | 631 | | |
635 | 632 | | |
636 | 633 | | |
| |||
0 commit comments