Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:A
file
0004-adjust-limits-better-from-NetBSD.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-adjust-limits-better-from-NetBSD.patch of Package file
From 8a905717660395b38ec4966493f6f1cf2f33946c Mon Sep 17 00:00:00 2001 From: Christos Zoulas <christos@zoulas.com> Date: Thu, 27 Nov 2014 15:16:00 +0000 Subject: [PATCH] adjust limits better (from NetBSD) --- src/readelf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git src/readelf.c src/readelf.c index 83dd51b..e41f9d9 100644 --- src/readelf.c +++ src/readelf.c @@ -60,8 +60,8 @@ private uint16_t getu16(int, uint16_t); private uint32_t getu32(int, uint32_t); private uint64_t getu64(int, uint64_t); -#define MAX_PHNUM 256 -#define MAX_SHNUM 1024 +#define MAX_PHNUM 128 +#define MAX_SHNUM 32768 private int toomany(struct magic_set *ms, const char *name, uint16_t num) -- 1.7.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor