Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/lua-event-0.4.6/include/buffer_event.h
Examining data/lua-event-0.4.6/include/event_buffer.h
Examining data/lua-event-0.4.6/include/event_callback.h
Examining data/lua-event-0.4.6/include/luaevent.h
Examining data/lua-event-0.4.6/include/utility.h
Examining data/lua-event-0.4.6/src/buffer_event.c
Examining data/lua-event-0.4.6/src/event_buffer.c
Examining data/lua-event-0.4.6/src/event_callback.c
Examining data/lua-event-0.4.6/src/luaevent.c
Examining data/lua-event-0.4.6/src/utility.c

FINAL RESULTS:

data/lua-event-0.4.6/src/buffer_event.c:131:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		le_buffer *read, *write;

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 1175 in approximately 0.07 seconds (16646 lines/second)
Physical Source Lines of Code (SLOC) = 741
Hits@level = [0]   0 [1]   1 [2]   0 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 1.34953 [1+] 1.34953 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.