FreeBSD Bugzilla – Attachment 247909 Details for
Bug 267606
x11-drivers/xf86-video-nv: Segmentation Fault post update from 1.20.14,1 to 21.1.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that would pressumably let the strcmp() pass, edited as previous patch was not correct.
0001-nv-init-set-default-names-and-crt-before-validation.patch (text/plain), 1.02 KB, created by
Yusuf Khan
on 2024-01-24 01:30:14 UTC
(
hide
)
Description:
Patch that would pressumably let the strcmp() pass, edited as previous patch was not correct.
Filename:
MIME Type:
Creator:
Yusuf Khan
Created:
2024-01-24 01:30:14 UTC
Size:
1.02 KB
patch
obsolete
>From a190ffeac02dad0fbf55d94322fee9dad230e661 Mon Sep 17 00:00:00 2001 >From: Yusuf Khan <yusisamerican@gmail.com> >Date: Tue, 23 Jan 2024 16:41:45 -0800 >Subject: [PATCH xf86-video-nv] nv/init: set default names and crt before > validation > >Presumably would fix https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267606, >a segfault probably resulting from the lack of a name on the modes. > >Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> >--- > src/nv_driver.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/src/nv_driver.c b/src/nv_driver.c >index d2634da..6cbcf68 100644 >--- a/src/nv_driver.c >+++ b/src/nv_driver.c >@@ -1975,6 +1975,8 @@ NVPreInit(ScrnInfoPtr pScrn, int flags) > if (i > 0) > VBESetModeParameters(pScrn, pNv->pVbe); > } else { >+ xf86SetModeDefaultName(mode); >+ xf86SetModeCrtc (mode, pScrn->adjustFlags); > i = xf86ValidateModes(pScrn, pScrn->monitor->Modes, > pScrn->display->modes, clockRanges, > NULL, 256, max_width, >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267606
:
237908
|
237932
|
239546
| 247909 |
248068
|
248069