Samanta Navarro
c0fc4d2122
libmisc/yesno.c: Fix regression
...
The getline function does not return a pointer but the amount of read
characters. The error return value to check for is -1.
Set buf to NULL to avoid dereference of an uninitialized stack value.
The getline function returns -1 if size argument is NULL. Always use
a valid pointer even if size is unimportant.
Signed-off-by: Samanta Navarro <ferivoz@riseup.net >
2023-04-28 11:22:48 -05:00
..
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-03-27 10:10:37 -05:00
2023-02-09 10:03:03 -06:00
2023-02-09 10:03:03 -06:00
2023-02-16 13:23:08 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-03-28 13:00:38 +02:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-03-20 08:47:52 +01:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-16 11:29:33 +01:00
2023-02-23 20:28:43 -06:00
2023-04-27 09:16:08 +02:00
2023-02-23 20:28:43 -06:00
2023-02-23 20:28:43 -06:00
2023-02-09 10:03:03 -06:00
2023-02-09 10:03:03 -06:00
2023-02-23 20:28:43 -06:00
2023-02-16 11:29:33 +01:00
2023-02-16 11:29:33 +01:00
2023-02-09 10:03:03 -06:00
2023-02-09 10:03:03 -06:00
2023-02-16 13:23:08 -06:00
2023-03-28 13:00:38 +02:00
2023-02-16 13:23:08 -06:00
2023-02-16 13:23:08 -06:00
2023-02-16 13:23:08 -06:00
2023-02-16 13:23:08 -06:00
2023-02-23 20:28:43 -06:00
2023-04-28 11:22:48 -05:00