Discussion:
[bug #55088] out-of-bounds read at arscan.c::720
Ning
2018-11-24 18:35:24 UTC
Permalink
URL:
<https://savannah.gnu.org/bugs/?55088>

Summary: out-of-bounds read at arscan.c::720
Project: make
Submitted by: ning
Submitted on: Sat 24 Nov 2018 06:35:22 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None

_______________________________________________________

Details:

ar Urv libxx.a a1.o
ar: creating libxx.a
a - a1.o

DTS_MSG: Stensal DTS detected a fatal program error!
DTS_MSG: Continuing the execution will cause unexpected behaviors, abort!
DTS_MSG: Reading 1 bytes at 0xfff53e98 will read undefined values.
DTS_MSG: Diagnostic information:

- The object to-be-read (start:0xfff53e5c, size:60 bytes) is allocated at
-
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/arscan.c::533,
23
- 0xfff53e5c 0xfff53e97
- +------------------------+
- | the object to-be-read |......
- +------------------------+
- ^~~~~~~~~~
- the read starts at 0xfff53e98 that is right after the object end.
- Stack trace (most recent call first):
-[1] file:/musl-1.1.10/src/string/memchr.c::25, 9
-[2] file:/musl-1.1.10/src/stdio/__string_read.c::8, 14
-[3] file:/musl-1.1.10/src/stdio/vsscanf.c::6, 9
-[4] file:/musl-1.1.10/src/stdio/__uflow.c::9, 22
-[5] file:/musl-1.1.10/src/internal/shgetc.c::16, 45
-[6] file:/musl-1.1.10/src/stdio/vfscanf.c::177, 11
-[7] file:/musl-1.1.10/src/stdio/vsscanf.c::15, 9
-[8] file:/musl-1.1.10/src/stdio/sscanf.c::10, 8
-[9]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/arscan.c::720,
9
-[10]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/ar.c::110, 9
-[11]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/remake.c::1333,
21
-[12]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/remake.c::1043,
15
-[13]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/remake.c::589,
17
-[14]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/remake.c::336,
13
-[15]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/remake.c::151,
22
-[16]
file:/home/sbuilder/workspace/aports/main/make/src/make-4.2.1/main.c::2558, 13




_______________________________________________________

Reply to this item at:

<https://savannah.gnu.org/bugs/?55088>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Loading...