repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
openslp
/
CVE-2016-4912.patch
blob
06223deda89b09225e0b34fef0852bd733dd0255
1
--- a/common/slp_xmalloc.c
2
+++ b/common/slp_xmalloc.c
3
@@ -206,7 +206,7 @@ void * _xrealloc(const char * file, int line, void * ptr, size_t size)
4
if (newptr == 0)
5
return 0;
6
memcpy(newptr, ptr, x->size);
7
- _xfree(file, line, x);
8
+ _xfree(file, line, ptr);
9
}
10
return newptr;
11
}