Closed btwe closed 10 years ago
src/input/mpegts/dvb_psi.c:323:
str = sname; while (*str && *str <= 32) str++; strncpy(sname, str, sname_len); // Note: could avoid this copy by passing an output ptr
you set str = sname and then try to copy it, probably strncpy this is leftover code ...
@btwe there are possibly some portability issues on some weird platforms. But this is generally a safe thing to do. What's your concern?
src/input/mpegts/dvb_psi.c:323:
you set str = sname and then try to copy it, probably strncpy this is leftover code ...