1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/missing
rhe 0b845a8458 string.c: fix memory leak in String#crypt
Use ALLOCV to allocate struct crypt_data for slightly cleaner and less
error-prone code. It is currently possible it leaks when an invalid
argument is passed to String#crypt or rb_str_new_cstr() fails to
allocate memory.

SIZEOF_CRYPT_DATA macro in missing/crypt.h is removed since it is not
used any longer.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-12 15:55:04 +00:00
..
acosh.c
alloca.c
cbrt.c
close.c
crt_externs.h
crypt.c
crypt.h string.c: fix memory leak in String#crypt 2017-11-12 15:55:04 +00:00
des_tables.c
dup2.c
erf.c
explicit_bzero.c
ffs.c
file.h
fileblocks.c
finite.c
flock.c Drop to support NaCl platform. 2017-10-23 05:56:25 +00:00
hypot.c
isinf.c
isnan.c
langinfo.c
lgamma_r.c
memcmp.c
memmove.c
nextafter.c
setproctitle.c
signbit.c
strchr.c
strerror.c get rid of sprintf 2016-12-26 09:28:48 +00:00
strlcat.c
strlcpy.c
strstr.c
tgamma.c fix tgamma for inifity 2017-05-12 16:12:46 +00:00
x86_64-chkstk.s