maskit opened a new issue, #10421:
URL: https://github.com/apache/trafficserver/issues/10421

   access_control/utils.cc
   ```
   391size_t
   392cryptoModifiedBase64Decode(const char *in, size_t inLen, char *out, 
size_t outLen)
   393{
   394  size_t bufferLen = inLen;
   395  switch (inLen % 4) {
   396  case 0: /* no padding */
   397    break;
   398  case 2: /* need space for '==' */
   399    bufferLen += 2;
   400    break;
   401  case 3: /* need space for '=' */
   402    bufferLen += 1;
   403    break;
        dead_error_condition: The switch governing value inLen % 4UL cannot be 
4UL.
        
   CID 1508898 (#1 of 1): Logically dead code (DEADCODE)
   dead_error_begin: Execution cannot reach this statement: case 4UL:.
   404  case 4:     /* malformed base64 */
   405    return 0; /* nothing will be written to the output buffer */
   406    break;
   407  }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to