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:

@nrobinson2000 has been informed, and will post any fixes at:

1 Like