Commits
![Travis Cross](https://secure.gravatar.com/avatar/57985f673a8a51e6a7282b868d600dba.jpg?s=96&d=mm)
Travis Cross committed 9cf864ba2b4
Deal with read errors in switch_xml.c Unlike fread(3), read(3) will return -1 on error. We were assigning the result of read to a potentially unsigned variable, and passing the result down to switch_xml_parse_str() where it would end up determining how many bytes to malloc(3).