Unverified Commit c09bf981 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13379 fbdev: sisfb: Fix strbuf array overflow

parents 87bba796 5da76581
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ static void sisfb_search_mode(char *name, bool quiet)
{
	unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0;
	int i = 0;
	char strbuf[16], strbuf1[20];
	char strbuf[24], strbuf1[20];
	char *nameptr = name;

	/* We don't know the hardware specs yet and there is no ivideo */