programming:bash:overflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
programming:bash:overflow [2022/03/31 07:30] – Adding interesting fact ateixeira | programming:bash:overflow [2022/03/31 07:31] – ateixeira | ||
---|---|---|---|
Line 31: | Line 31: | ||
| | ||
| | ||
- | ==== Output will be: ==== | + | ==== Output will be : ==== |
65536 | 65536 | ||
Line 50: | Line 50: | ||
- | === Interesting fact : === | + | ==== Interesting fact : ==== |
> At the end, we set a variable bigger than the MAX limit and increment 1. The variable is at first stocked as a STR but when we force it to increment 1, we see that bash will compensate and output the MIN limit incremented by 1. | > At the end, we set a variable bigger than the MAX limit and increment 1. The variable is at first stocked as a STR but when we force it to increment 1, we see that bash will compensate and output the MIN limit incremented by 1. | ||
programming/bash/overflow.txt · Last modified: 2022/03/31 15:07 by ateixeira