Actually, it is not defined what strdup(NULL) should do afaics, so NULL's in StringArray's are illegal already.