ubsan: alpha-coff: signed integer overflow
[deliverable/binutils-gdb.git] / bfd / coff-alpha.c
index 0baac2a24a2d54dadea44abd96571b564fc9ffcc..4b39bcc999dc0d49d3747bc9df5e80f5360a9fb8 100644 (file)
@@ -423,7 +423,7 @@ alpha_ecoff_object_p (bfd *abfd)
        {
          bfd_size_type size;
 
-         size = sec->line_filepos * 8;
+         size = (bfd_size_type) sec->line_filepos * 8;
          BFD_ASSERT (size == sec->size
                      || size + 8 == sec->size);
          if (!bfd_set_section_size (sec, size))
This page took 0.023131 seconds and 4 git commands to generate.