...on line 314. It can happen very well because getenv might come up empty. A possible patch is attached.
I must have goofed this one (my code), apparently it "works" on Windows/Microsoft libraries and thus went unnoticed.
Instead of the patch provided by helixhorned I suggest that we replace strdup line with something like this:
fgDisplay.DisplayName=displayName ? strdup(displayName) : 0 ;
The rest of the code expects null pointer when DisplayName has not been specified.
I will send a patch to the mailing list
Fixed in change set 926
Log in to post a comment.
I must have goofed this one (my code), apparently it "works" on Windows/Microsoft libraries and thus went unnoticed.
Instead of the patch provided by helixhorned I suggest that we replace strdup line with something like this:
fgDisplay.DisplayName=displayName ? strdup(displayName) : 0 ;
The rest of the code expects null pointer when DisplayName has not been specified.
I will send a patch to the mailing list
Fixed in change set 926