MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / user_new

Function user_new

NetStream/source/paf_runtime.cpp:92–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void *user_new(std::size_t size)
93{
94 void *ret = sce_paf_malloc(size);
95 /*
96 SceAvPlayer bugfix: yucca::DashManifestParser::FinishParse() tries to use uninitialized pointers in MediaLookUpMmap member
97 This bug is not visible with SceLibc because it always memsets heap with 0's and yucca probably checks: if(ptr){...}
98 */
99 /*
100 if (size == 112)
101 {
102 sce_paf_memset(ret, 0, size);
103 }
104 */
105 return ret;
106}
107
108void *user_new(std::size_t size, const std::nothrow_t& x)
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected