]> git.mxchange.org Git - flightgear.git/commit
Don't try to strlen() the input buffer if the length is zero. That
authorandy <andy>
Tue, 26 Apr 2005 17:18:00 +0000 (17:18 +0000)
committerandy <andy>
Tue, 26 Apr 2005 17:18:00 +0000 (17:18 +0000)
commit239077599c02bf1aa9d1db2e9364ab8421098b51
tree860e5e69a6602b44f9b04561ae4d632a77cc0f5d
parenta78dae1fb7c813f43dea3f56377e8dd282d67e86
Don't try to strlen() the input buffer if the length is zero.  That
was probably my idea of a feature, but if the input buffer actually
does has a length of zero (as Melchior discovered for the case of a
zero-length .nas file) then there will be no null.
src/Scripting/NasalSys.cxx