servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
171 stars 80 forks source link

vsprintf and friends are broken on 64-bit OSX builds #62

Closed gardners closed 11 years ago

gardners commented 11 years ago

vsprintf can segfault or output incorrect strings.

To reproduce build a recent version on a 64-bit OSX system. Then run "servald help" and note that message about the config file has garbage instead of the path to the config file.

Work around is to compile 32bit by adding -m32 to COPT in Makefile.

We need to detect 64-bit OSX builds and add this automatically.