Code: transform_name(int t)
 /* The name, if 't' has multiple bits set the name of the lowest set bit is
    * returned.
    */
{
 unsigned int i;

 
    t &= -t; /* first set bit */
 
   for (i=0; i<TTABLE_SIZE; ++i)
    {
       if ((transform_info[i].transform & t) != 0)
          return transform_info[i].name;
 }

 return "invalid transform";
}

Commit Message: DO NOT MERGE Update libpng to 1.6.20

BUG:23265085
Change-Id: I85199805636d771f3597b691b63bc0bf46084833
(cherry picked from commit bbe98b40cda082024b669fa508931042eed18f82)

CWE ID: 
transform_name(int t)
 /* The name, if 't' has multiple bits set the name of the lowest set bit is
    * returned.
    */
{
 unsigned int i;

 
    t &= -t; /* first set bit */
 
   for (i=0; i<TTABLE_SIZE; ++i) if (transform_info[i].name != NULL)
    {
       if ((transform_info[i].transform & t) != 0)
          return transform_info[i].name;
 }

 return "invalid transform";
}
