• Nils Goroll's avatar
    fix the appnd() macro - it needs a block · 4dcf6aa8
    Nils Goroll authored
    when called below in
    
    	if (ua_prepend[i])
    		appnd(w, space, ua_prepend[i], l);
    
    appnd would exand such that only the first line (l = strlen(r))
    was conditional on ua_prepend[i] being non-null, which then would
    trigger a null pointer dereference in strncpy.
    
    This is a particularly embarassing bug.
    4dcf6aa8
Name
Last commit
Last update
m4 Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...