Skip to content

Commit

Permalink
fix lyn being broken
Browse files Browse the repository at this point in the history
  • Loading branch information
StanHash committed Jun 22, 2019
1 parent 9afd69b commit dbd25fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1)

project(lyn VERSION "2.5.1")
project(lyn VERSION "2.5.2")

option(USE_STATIC_LIBRARIES "When on, passes -static to the compiler" ON)

Expand Down
2 changes: 1 addition & 1 deletion core/event_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void event_object::append_from_elf(const char* fileName)

default:
{
if (outMap.size() > sym.get_st_shndx())
if (sym.get_st_shndx() >= outMap.size())
break;

if (!outMap.at(sym.get_st_shndx()))
Expand Down

0 comments on commit dbd25fb

Please sign in to comment.