swisspol/GCDWebServer

Static Analyzer Issues

Opened this issue · 0 comments

Hi

Static analyzer find 3 issues on release configuration.

  • Due to GWS_DNOT_REACHED() turns from abort() into empty string in release configuration localAddress can be nil while creating GCDWebServerConnection in GCDWebServer.m

  • The same goes in GCDWebServerMultiPartFormRequest.m with _controlName and _contentType creating GCDWebServerMultiPartArgument.

Please see screenshots below:
1
2