aboutsummaryrefslogtreecommitdiff
path: root/libbb/kernel_version.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-30 07:57:06 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-30 07:57:06 +0000
commit3124a9ecee24769f395d3dc4179a5f0e9268b5c0 (patch)
treedad288a73ce6097ccba604031e4b28907986cc32 /libbb/kernel_version.c
parentb99aec0ba5b5b5f7f565c89bb0dab158d7342fee (diff)
downloadbusybox-3124a9ecee24769f395d3dc4179a5f0e9268b5c0.tar.gz
Vladimir N. Oleynik writes:
This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz
Diffstat (limited to 'libbb/kernel_version.c')
0 files changed, 0 insertions, 0 deletions