diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-11-02 20:34:01 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-11-12 10:34:37 +0300 |
commit | 1edce7b49f4f522d5b0238e27c3733becc2c0775 (patch) | |
tree | 8c505ef516a9e28b612d0fcc225a0e3c0c749f47 /README | |
parent | 35aa665337499ac83a1dbd46b0f77a57b82fd993 (diff) | |
download | accel-ppp-1edce7b49f4f522d5b0238e27c3733becc2c0775.tar.gz accel-ppp-1edce7b49f4f522d5b0238e27c3733becc2c0775.zip |
pppd-compat: check available memory before setting environment variables
Use snprintf() to ensure fill_env() isn't going to overflow 'mem'.
Environment variables are either completely set or not defined at all
(but are never truncated).
For the ipv6 and ipv6_dp cases, the environment variable is now fully
generated with a single format string for simplicity.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions