diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-10 14:06:32 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-12 15:00:02 +0100 |
commit | f670cae69d85a8bfc14ab7d9cd38ab0e568e6929 (patch) | |
tree | e6c84ab48043c9d53ae11e69b096fa016a1e9ad3 /PFIF.txt | |
parent | 34a18865d6d2acd05e93fc728510896e69449d79 (diff) | |
download | samba-f670cae69d85a8bfc14ab7d9cd38ab0e568e6929.tar.gz samba-f670cae69d85a8bfc14ab7d9cd38ab0e568e6929.tar.bz2 samba-f670cae69d85a8bfc14ab7d9cd38ab0e568e6929.zip |
s3-utils: Correctly handle getenv() for the later system() call.
The returned string of getenv() has an unknown size. You need to store
the result always in a char array with a certain size to make sure we
don't feed tainted data to the next function call.
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'PFIF.txt')
0 files changed, 0 insertions, 0 deletions