Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
file
0001-prevent-infinite-recursion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-prevent-infinite-recursion.patch of Package file
From 3c081560c23f20b2985c285338b52c7aae9fdb0f Mon Sep 17 00:00:00 2001 From: Christos Zoulas <christos@zoulas.com> Date: Tue, 11 Feb 2014 15:41:25 +0000 Subject: [PATCH] prevent infinite recursion. --- src/softmagic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git src/softmagic.c src/softmagic.c index ac9c18b..e0db1c7 100644 --- src/softmagic.c +++ src/softmagic.c @@ -1738,6 +1738,8 @@ mget(struct magic_set *ms, const unsigned char *s, struct magic *m, break; case FILE_INDIRECT: + if (offset == 0) + return 0; if (OFFSET_OOB(nbytes, offset, 0)) return 0; sbuf = ms->o.buf; -- 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