1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

buffer overflow help

Discussion in 'Android Hacks and Help' started by zero7404, Feb 25, 2011.

  1. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    ive noticed buffer overflow messages in my dmesg output and i want to figure out whats causing them but dont know how.

    i have a list of event id's that have associated overflows:

    1160
    1170
    1174

    how do i find out which app is causing the overflows? a buffer overflow can be exploited, so this would be a security issue and can risk opening up android for an exploit ...



    posted via android
  2. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    the actual messages are listed as evdev (event device) with the prefix event1- and then the 4 digit code.

    these are related to either an app or process but cant find out, there is not enough info i can find on this topic.

    maybe someone over in a linux forum may know ....

    posted via android
  3. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    hard to believe no one on this forum has any background with android OS and what the buffer overflow issue might be ....

    can someone who writes apps please chime in/help out ?
  4. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    i saw yesterday the same question on ubuntu forums... anyway ill look into it.
  5. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    the only thing i can think of would be to run ps & figure out what apps are running. maybe try a fresh install and narrow it down to system apps.. my phones not currently working, so i have no way to check any of this out.
  6. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    that was probably me .... hit a brick wall over there too ...
  7. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    turns out one of the processes was Compass ... i installed it from android market. an app i got and never really used.

    so i deleted it, cleared the sys log and restarting now to see what else appears ....

    i totally forgot about ps, used to use it in ubuntu a while back. thanks for reminding me ....

    EDIT: despite removing the app, seems to be still appearing as a different event id, another event id also appears. so there's one process that reports to /system/bin and the other that belongs to system_server ....

    i think these are part of the android OS/system, not 100% sure.
    Last edited: Feb 27, 2011
  8. prime
    Offline

    prime Kernel Developer Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,829
    Likes Received:
    19
    Trophy Points:
    38
    Location:
    Florida
    look at the log, download catlog from market or type in a terminal 'su' then 'logcat -d *:E'

    Do 'logcat -h' to see all codes (the *:E is for all errors).
  9. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    thanks for this ... is there a way to get this output into a file so i can pull it up on a pc & look at it in detail ? easier to interpret that way ...
  10. prime
    Offline

    prime Kernel Developer Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,829
    Likes Received:
    19
    Trophy Points:
    38
    Location:
    Florida
    If you want to write to disk.

    Code:
    logcat -d *:E > /sdcard/errorlog.txt
  11. prime
    Offline

    prime Kernel Developer Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,829
    Likes Received:
    19
    Trophy Points:
    38
    Location:
    Florida
    I suggest installing the android sdk for windows, with adb you can gain a live shell connection to your android device for realtime debugging and such.
  12. zero7404
    Offline

    zero7404 New Member

    Joined:
    Jan 3, 2010
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    0
    so long as i can print the output to a file i should be fine. i want to show the log to google.

    i have some modules frozen using titanium ... i doubt that would be causing the overflows, but not entirely sure of how motorola wrote their components to interact with android and the hardware.

    posted via android
Similar Threads
  1. mgarney26
    Replies:
    3
    Views:
    475
  2. JnnNicole
    Replies:
    1
    Views:
    433
  3. kees.5
    Replies:
    2
    Views:
    995
  4. ehreeahna29
    Replies:
    7
    Views:
    745
  5. jwdechert
    Replies:
    1
    Views:
    3,375
Loading...
Search tags for this page
android app buffer overflow testing
,

android buffer overflow

,
android dx buffer overflow
,
buffer overfloe in android application
,

buffer overflow android

,
buffer overflow checking android app
,
buffer overflow on android application
,
dmesg buffer overflow
,

evdev buffer overflow