mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Replace sprintf with snprintf to eliminate compile warnings. v6.0.45 (#3534)
* Replaced all occurrences of sprintf with snprintf to address deprecation warnings * Ensured proper buffer size is passed to snprintf to prevent potential buffer overflows * Ran tests to confirm that the changes do not introduce any new issues or regressions --------- Co-authored-by: ChenGH <chengh_math@126.com>
This commit is contained in:
parent
0629beeb0a
commit
c0e931ae7a
9 changed files with 61 additions and 31 deletions
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 6
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 44
|
||||
#define VERSION_REVISION 45
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue