hyprpm: fix url sanitization in add
this could've been used to exec additional commands with hyprpm
This commit is contained in:
parent
cf0d256c13
commit
5c370c3333
3 changed files with 17 additions and 7 deletions
|
|
@ -94,7 +94,7 @@ CScreencopyFrame::CScreencopyFrame(SP<CZwlrScreencopyFrameV1> resource_, WP<CScr
|
|||
return;
|
||||
}
|
||||
|
||||
const auto stride = NFormatUtils::minStride(PSHMINFO, bufSize.x);
|
||||
const auto stride = NFormatUtils::minStride(PSHMINFO, bufSize.x);
|
||||
m_resource->sendBuffer(NFormatUtils::drmToShm(format), bufSize.x, bufSize.y, stride);
|
||||
|
||||
if (m_resource->version() >= 3) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue