The Samba-Bugzilla – Bug 11476
source4/lib/http/http.c uses non-portable sscanf() spec
Last modified: 2015-09-02 08:06:42 UTC
Created attachment 11382 [details]
Work around missing %m modifier
There are two places in source4/lib/http/http.c where '%m'(%a before) is used to allocate buffer for the scanned substring. Unfortunatelly, at least on FreeBSD (s)scanf() doesn't implement those modifiers.
I attach quick and dirty fix I've implemented to work around this problem, but proper fix is necessary.
Also, DEBUG(11,...) uses values that may not be defined at the point of invocation.