[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/23940] New: check bounds befroe using

From: wu.heng at zte dot com.cn
Subject: [Bug gas/23940] New: check bounds befroe using
Date: Fri, 30 Nov 2018 09:19:34 +0000


            Bug ID: 23940
           Summary: check bounds befroe using
           Product: binutils
           Version: 2.32 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: wu.heng at zte dot com.cn
  Target Milestone: ---

Created attachment 11422
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11422&action=edit
check bounds befroe using

The var "idx" should be checked before using in function "getstring"

          while ((in->ptr[idx] != '>' || nest)
                 && idx < in->len)

The out of bounds judgment should be in front of using.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]