Skip to content

Instantly share code, notes, and snippets.

Mansour Moufid eliteraspberries

  • Canada
View GitHub Profile
View gist:3c3d3095feaf9b687fe3ab124d395833
diff -u -p linux-4.5/arch/arc/kernel/unwind.c /tmp/nothing/arch/arc/kernel/unwind.c
--- linux-4.5/arch/arc/kernel/unwind.c
+++ /tmp/nothing/arch/arc/kernel/unwind.c
@@ -626,7 +626,6 @@ static signed fde_pointer_type(const u32
version <= 1 ? (void) ++ptr : (void)get_uleb128(&ptr, end);
len = get_uleb128(&ptr, end); /* augmentation length */
- if (ptr + len < ptr || ptr + len > end)
return -1;
View str2long.c
#include <assert.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include "str2long.h"
#if LONG_MAX == 9223372036854775807UL
#define LONG_MAX_DIGITS 19
You can’t perform that action at this time.