Skip to content

Instantly share code, notes, and snippets.

@laruence
Created August 30, 2013 07:47
Show Gist options
  • Save laruence/6387279 to your computer and use it in GitHub Desktop.
Save laruence/6387279 to your computer and use it in GitHub Desktop.
==70229== ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff557649f7 at pc 0x10ac4203d bp 0x7fff557648f0 sp 0x7fff557648e8
READ of size 1 at 0x7fff557649f7 thread T0
#0 0x10ac4203c (/Users/Laruence/opensource/php-5.5/sapi/cli/php+0x1007a903c)
Address 0x7fff557649f7 is located at offset 55 in frame <date_object_get_properties> of T0's stack:
This frame has 1 object(s):
[32, 40) 'zv'
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
(longjmp and C++ exceptions *are* supported)
Shadow bytes around the buggy address:
0x1fffeaaec8e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1fffeaaec8f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1fffeaaec900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1fffeaaec910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1fffeaaec920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x1fffeaaec930: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f4[f4]f4
0x1fffeaaec940: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 f1 f1
0x1fffeaaec950: f1 f1 04 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2
0x1fffeaaec960: f2 f2 00 f4 f4 f4 f3 f3 f3 f3 00 00 00 00 00 00
0x1fffeaaec970: 00 00 f1 f1 f1 f1 04 f4 f4 f4 f2 f2 f2 f2 00 f4
0x1fffeaaec980: f4 f4 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap righ redzone: fb
Freed Heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
ASan internal: fe
==70229== ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment