Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 22049865 authored by deuce's avatar deuce
Browse files

Don't mess with ret until it's allocated.

parent d2ad0a6d
......@@ -128,7 +128,6 @@ extern int thread_suid_broken; /* NPTL is no longer broken */
size_t pos; \
const jschar *val; \
\
ret[0]=0; \
if((val=JS_GetStringCharsAndLength(cx, str, &len))) { \
if((ret=alloca(len+1))) { \
for(pos=0; pos<len; pos++) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment