Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

Commit

Permalink
Patches add per Greg Freemyer
Browse files Browse the repository at this point in the history
  • Loading branch information
simsong committed Apr 10, 2012
1 parent 7ea724e commit bd9ed27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyaff/Makefile.am
Expand Up @@ -9,5 +9,6 @@ pyexec_LTLIBRARIES = pyaff.la
pyaff_la_SOURCES = pyaff.c
pyaff_la_LIBADD = ../lib/libafflib.la
pyaff_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
pyaff_la_CFLAGS = -fno-strict-aliasing
pyaff_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
endif
2 changes: 1 addition & 1 deletion tools/affinfo.cpp
Expand Up @@ -466,7 +466,7 @@ void print_info(AFFILE *af,const char *segname)
data_len = 32;
}
if(display_as_hex(segname,display_len)){
char buf[80];
char buf[82];
snprintf(cc,sizeof(output_line)-strlen(output_line),
"%s%s",af_hexbuf(buf,sizeof(buf),data,display_len,opt_hexbuf),
dots ? "..." : "");
Expand Down

0 comments on commit bd9ed27

Please sign in to comment.