Skip to content
Permalink
Browse files

Airodump-ng: Fixed GPS stack overflow (Closes #13 on GitHub).

git-svn-id: http://svn.aircrack-ng.org/trunk@2416 28c6078b-6c39-48e3-add9-af49d547ecab
  • Loading branch information
Mister-X- committed Oct 3, 2014
1 parent 4e18c0a commit ff70494dd389ba570dbdbf36f217c28d4381c6b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/airodump-ng.c
@@ -4497,7 +4497,7 @@ void gps_tracker( void )
}

// New version, JSON
if( recv( gpsd_sock, line + pos, sizeof( line ) - 1, 0 ) <= 0 )
if( recv( gpsd_sock, line + pos, sizeof( line ) - pos - 1, 0 ) <= 0 )
return;

// search for TPV class: {"class":"TPV"

0 comments on commit ff70494

Please sign in to comment.
You can’t perform that action at this time.