0002-fix-CVE-2016-6354.patch 661 B

12345678910111213141516171819202122232425
  1. From a5cbe929ac3255d371e698f62dc256afe7006466 Mon Sep 17 00:00:00 2001
  2. From: Will Estes <westes575@gmail.com>
  3. Date: Sat, 27 Feb 2016 11:56:05 -0500
  4. Subject: [PATCH] Fixed incorrect integer type
  5. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  6. ---
  7. Status: upstream
  8. flex.skl | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/src/flex.skl b/src/flex.skl
  11. index 36a526a..64f853d 100644
  12. --- a/flex.skl
  13. +++ b/flex.skl
  14. @@ -1703,7 +1703,7 @@ int yyFlexLexer::yy_get_next_buffer()
  15. else
  16. {
  17. - yy_size_t num_to_read =
  18. + int num_to_read =
  19. YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  20. while ( num_to_read <= 0 )