summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2016-11-02 20:34:01 +0100
committerDmitry Kozlov <xeb@mail.ru>2016-11-12 10:34:37 +0300
commit1edce7b49f4f522d5b0238e27c3733becc2c0775 (patch)
tree8c505ef516a9e28b612d0fcc225a0e3c0c749f47 /README
parent35aa665337499ac83a1dbd46b0f77a57b82fd993 (diff)
downloadaccel-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