mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-16 09:10:02 +00:00
patches-19.x: wireless-tools: fix iwpriv segment fault
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
parent
e3f6cb67f9
commit
bd452ceea0
@ -22,7 +22,7 @@ index 0000000000..310b1bfcf8
|
||||
+ {
|
||||
+ struct iwreq wrq;
|
||||
+- u_char buffer[4096]; /* Only that big in v25 and later */
|
||||
++ u_char buffer[8192]; /* Only that big in v25 and later */
|
||||
++ u_char buffer[20 * 1024]; /* Only that big in v25 and later */
|
||||
+ int i = 0; /* Start with first command arg */
|
||||
+ int k; /* Index in private description table */
|
||||
+ int temp;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user