Commit 0e75958
committed
[do-not-upstream] tinystdio: fix in vfprintf to prevent checking on -ve values of width
before this change, if width is zero code get stuck in an infite loop through
negative values of width as it is defined as a signed int.
Signed-off-by: Mostafa Salman <mostafas@synopsys.com>1 parent e7ed690 commit 0e75958
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
1252 | | - | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1253 | 1255 | | |
1254 | 1256 | | |
1255 | 1257 | | |
| |||
0 commit comments