Strange strlen pointer problem with local build

Building using po-util, targeting version 0.6.1 (electron)

I have a weird problem with application code built by PO-Util that doesn’t affect builds using the Particle servers. Basically, if I pass a null pointer (targPtr) to a function, use strlen(targPtr) on it, then any subsequent if(targPtr) will evaluate to TRUE. Pretty strange stuff. I’ve posted example code here: https://bitbucket.org/jaza_tom/poweirdness

@nrobinson2000 has been informed, and will post any fixes at: https://gitter.im/po-util/Lobby

1 Like