forked from chaos/slurm-spank-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preserve-env: Fix crash in slurmstepd when env vars longer than 64B.
A very small buffer was accidentally used in preserve-env.so when dealing with environment variables from the job's environment. Make all env var buffers dynamic (except for the name of save_SLURM_* variables) to avoid this problem in the future. The fix also includes an undocumented --preserve-slurm-env=verbose debug mode, to make it easier to debug future problems with the plugin.
- Loading branch information
Showing
2 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
2008-10-09 Mark Grondona <[email protected]> | ||
|
||
* preserve-env.c : | ||
Fix crash in slurmstepd when dealing with environment entries | ||
larger than 64 bytes. Make all environment variable name and | ||
value buffers (except for save_SLURM*) dynamic. | ||
|
||
2008-10-06 Mark Grondona <[email protected]> | ||
|
||
* : tag v0.3. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters