DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: buffer overflow help

  1. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #1

    buffer overflow help

    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
    GS4
  2. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #2
    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
    GS4
  3. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #3
    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 ?
    GS4
  4. Developer
    jeffv2's Avatar
    Member #
    151962
    Join Date
    Dec 2010
    Location
    south jersey
    Posts
    1,241
    Liked
    3 times
    Phone
    galaxy nexus
    DroidForums.net Developer
    #4
    i saw yesterday the same question on ubuntu forums... anyway ill look into it.
  5. Developer
    jeffv2's Avatar
    Member #
    151962
    Join Date
    Dec 2010
    Location
    south jersey
    Posts
    1,241
    Liked
    3 times
    Phone
    galaxy nexus
    DroidForums.net Developer
    #5
    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. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #6
    Quote Originally Posted by jeffv2 View Post
    i saw yesterday the same question on ubuntu forums... anyway ill look into it.
    that was probably me .... hit a brick wall over there too ...
    GS4
  7. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #7
    Quote Originally Posted by jeffv2 View Post
    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.
    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 by zero7404; 02-27-2011 at 09:27 PM.
    GS4
  8. Kernel Developer
    prime's Avatar
    Member #
    62737
    Join Date
    Apr 2010
    Location
    Florida
    Posts
    1,829
    Liked
    90 times
    Twitter
    f1vefour
    Phone
    Galaxy Nexus Toro
    DroidForums.net Developer
    Premium Member
    #8
    Quote Originally Posted by zero7404 View Post
    Quote Originally Posted by jeffv2 View Post
    i saw yesterday the same question on ubuntu forums... anyway ill look into it.
    that was probably me .... hit a brick wall over there too ...
    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. Droid Ninja
    zero7404's Avatar
    Member #
    22848
    Join Date
    Jan 2010
    Posts
    1,123
    Liked
    2 times
    Phone
    Droid X
    #9
    Quote Originally Posted by prime View Post
    Quote Originally Posted by zero7404 View Post
    Quote Originally Posted by jeffv2 View Post
    i saw yesterday the same question on ubuntu forums... anyway ill look into it.
    that was probably me .... hit a brick wall over there too ...
    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).
    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 ...
    GS4
  10. Kernel Developer
    prime's Avatar
    Member #
    62737
    Join Date
    Apr 2010
    Location
    Florida
    Posts
    1,829
    Liked
    90 times
    Twitter
    f1vefour
    Phone
    Galaxy Nexus Toro
    DroidForums.net Developer
    Premium Member
    #10
    If you want to write to disk.

    Code:
    logcat -d *:E > /sdcard/errorlog.txt
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. syslog output buffer overflow ...
    By zero7404 in forum Droid 2 Tech Issues
    Replies: 2
    Last Post: 02-25-2011, 07:58 AM
  2. Radio App that does not buffer all the time
    By rgn2000 in forum Android Applications
    Replies: 31
    Last Post: 05-10-2010, 12:26 AM
  3. Internet radio app that can adjust buffer
    By BigG422 in forum Android Audio and Video
    Replies: 5
    Last Post: 02-23-2010, 06:11 PM

Search tags for this page

android app buffer overflow
,

android buffer overflow

,
android evdev buffer overflow
,

buffer overflow android

,
buffer overflow checking android app
,
buffer overflow help
,
dmesg android buffer overflow
,
dmesg buffer overflow
,

evdev buffer overflow

,
xoom bufer problema
Click on a term to search our site for related topics.
Find us on Google+