diff options
| author | Ron Yorston <rmy@pobox.com> | 2014-01-10 20:13:40 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2014-01-10 20:13:40 +0000 |
| commit | 3eff46194e1879b27017df5fb18862289c07f57c (patch) | |
| tree | 0287dca82defedd5486b6f0fea3da6be922425e3 /shell/math.c | |
| parent | 8e822ba8c86618a582460c56006d352b3b7e0d26 (diff) | |
| download | busybox-w32-3eff46194e1879b27017df5fb18862289c07f57c.tar.gz busybox-w32-3eff46194e1879b27017df5fb18862289c07f57c.tar.bz2 busybox-w32-3eff46194e1879b27017df5fb18862289c07f57c.zip | |
ash: prevent null-pointer exception with local variables
A local variable can have a null text pointer: if so, don't call
strlen. localvar_copy handles this correctly because nodeckstrdup
doesn't try to copy from the null pointer.
Diffstat (limited to 'shell/math.c')
0 files changed, 0 insertions, 0 deletions
